C# Class System.Data.XSDSchema

Inheritance: XMLSchema
Show file Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
AddTablesToList void
BuildKey System.Data.DataColumn[]
CollectElementsAnnotations void
CollectElementsAnnotations void
DatasetElementCount int
FindDatasetElement System.Xml.Schema.XmlSchemaElement
FindField DataColumn
FindNameType NameType
FindTypeNode System.Xml.Schema.XmlSchemaAnnotated
GetBooleanAttribute bool
GetInstanceName string
GetMsdataAttribute string
GetNamespaceFromPrefix string
GetParticle System.Xml.Schema.XmlSchemaParticle
GetParticleItems System.Xml.Schema.XmlSchemaObjectCollection
GetPrefix string
GetStringAttribute string
GetTableName string
GetTableNamespace string
HandleAttributeColumn void
HandleAttributeGroup void
HandleAttributes void
HandleColumnExpression void
HandleComplexType void
HandleConstraint void
HandleDataSet void
HandleElementColumn void
HandleKeyref void
HandleParticle void
HandleRefTableProperties void
HandleRelation void
HandleRelations void
HandleSimpleContentColumn void
HandleSimpleTypeSimpleContentColumn void
HandleTable DataTable
HasAttributes bool
InstantiateSimpleTable DataTable
InstantiateTable DataTable
IsDatasetParticle bool
IsTable bool
IsXsdType bool
ParseDataType Type
QualifiedName string
SetExtProperties void
SetExtProperties void
SetProperties void
TranslateAcceptRejectRule AcceptRejectRule
TranslateRule Rule

Public Methods

Method Description
LoadSchema ( XmlSchemaSet schemaSet, DataSet ds ) : void
LoadSchema ( XmlSchemaSet schemaSet, DataTable dt ) : void
XsdtoClr ( string xsdTypeName ) : Type

Private Methods

Method Description
AddTablesToList ( List tableList, DataTable dt ) : void
BuildKey ( XmlSchemaIdentityConstraint keyNode, DataTable table ) : System.Data.DataColumn[]
CollectElementsAnnotations ( XmlSchema schema ) : void
CollectElementsAnnotations ( XmlSchema schema, ArrayList schemaList ) : void
DatasetElementCount ( XmlSchemaObjectCollection elements ) : int
FindDatasetElement ( XmlSchemaObjectCollection elements ) : XmlSchemaElement
FindField ( DataTable table, string field ) : DataColumn
FindNameType ( string name ) : NameType
FindTypeNode ( XmlSchemaAnnotated node ) : XmlSchemaAnnotated
GetBooleanAttribute ( XmlSchemaAnnotated element, string attrName, bool defVal ) : bool
GetInstanceName ( XmlSchemaAnnotated node ) : string
GetMsdataAttribute ( XmlSchemaAnnotated node, string ln ) : string
GetNamespaceFromPrefix ( string prefix ) : string
GetParticle ( XmlSchemaComplexType ct ) : XmlSchemaParticle
GetParticleItems ( XmlSchemaParticle pt ) : XmlSchemaObjectCollection
GetPrefix ( string ns ) : string
GetStringAttribute ( XmlSchemaAnnotated element, string attrName, string defVal ) : string
GetTableName ( XmlSchemaIdentityConstraint key ) : string
GetTableNamespace ( XmlSchemaIdentityConstraint key ) : string
HandleAttributeColumn ( XmlSchemaAttribute attrib, DataTable table, bool isBase ) : void
HandleAttributeGroup ( XmlSchemaAttributeGroup attributeGroup, DataTable table, bool isBase ) : void
HandleAttributes ( XmlSchemaObjectCollection attributes, DataTable table, bool isBase ) : void
HandleColumnExpression ( object instance, XmlAttribute attrs ) : void
HandleComplexType ( XmlSchemaComplexType ct, DataTable table, ArrayList tableChildren, bool isNillable ) : void
HandleConstraint ( XmlSchemaIdentityConstraint keyNode ) : void
HandleDataSet ( XmlSchemaElement node, bool isNewDataSet ) : void
HandleElementColumn ( XmlSchemaElement elem, DataTable table, bool isBase ) : void
HandleKeyref ( XmlSchemaKeyref keyref ) : void
HandleParticle ( XmlSchemaParticle pt, DataTable table, ArrayList tableChildren, bool isBase ) : void
HandleRefTableProperties ( ArrayList RefTables, XmlSchemaElement element ) : void
HandleRelation ( XmlElement node, bool fNested ) : void
HandleRelations ( XmlSchemaAnnotation ann, bool fNested ) : void
HandleSimpleContentColumn ( string strType, DataTable table, bool isBase, XmlAttribute attrs, bool isNillable ) : void
HandleSimpleTypeSimpleContentColumn ( XmlSchemaSimpleType typeNode, string strType, DataTable table, bool isBase, XmlAttribute attrs, bool isNillable ) : void
HandleTable ( XmlSchemaElement node ) : DataTable
HasAttributes ( XmlSchemaObjectCollection attributes ) : bool
InstantiateSimpleTable ( XmlSchemaElement node ) : DataTable
InstantiateTable ( XmlSchemaElement node, XmlSchemaComplexType typeNode, bool isRef ) : DataTable
IsDatasetParticle ( XmlSchemaParticle pt ) : bool
IsTable ( XmlSchemaElement node ) : bool
IsXsdType ( string name ) : bool
ParseDataType ( string dt ) : Type
QualifiedName ( string name ) : string
SetExtProperties ( object instance, XmlAttribute attrs ) : void
SetExtProperties ( object instance, XmlAttributeCollection attrs ) : void
SetProperties ( object instance, XmlAttribute attrs ) : void
TranslateAcceptRejectRule ( string strRule ) : AcceptRejectRule
TranslateRule ( string strRule ) : Rule

Method Details

LoadSchema() public method

public LoadSchema ( XmlSchemaSet schemaSet, DataSet ds ) : void
schemaSet System.Xml.Schema.XmlSchemaSet
ds DataSet
return void

LoadSchema() public method

public LoadSchema ( XmlSchemaSet schemaSet, DataTable dt ) : void
schemaSet System.Xml.Schema.XmlSchemaSet
dt DataTable
return void

XsdtoClr() public static method

public static XsdtoClr ( string xsdTypeName ) : Type
xsdTypeName string
return Type