NET object models:
??‘ XML names are mapped to CLR names.
??‘ XML namespaces are mapped to CLR namespaces.
??‘ Global element declarations are mapped to classes.
??‘ Complex-type definitions are mapped to classes.
??‘ Local declarations of elements, attributes, and references are mapped to properties.
??‘ Named and anonymous types by default are not mapped to classes.
??‘ Simple-type references are mapped to CLR value types or strings.
??‘ Anonymous complex types for local elements by default are mapped to inner classes.
??‘ Simple-type restrictions are mapped to element property preconditions.
??‘ Complex-type derivation is mapped to object-oriented subclassing via extension and restriction.
??‘ Substitution grouping is mapped to object-oriented subclassing.
??‘ Redefinitions are carried out before mapping as applied by System.Xml.Schema rules.
LINQ to XSD-Generated API Class Methods
This section briefly discusses the methods of the API classes that LINQ to XSD generates from XML
schemas. These methods should seem familiar because they are also methods within LINQ to XML.
Pages:
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546