Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Data.XSDSchema Class Referencesealed

Classes

class  NameType
 

Public Member Functions

void LoadSchema (XmlSchemaSet schemaSet, DataTable dt)
 
void LoadSchema (XmlSchemaSet schemaSet, DataSet ds)
 

Static Public Member Functions

static Type XsdtoClr (string xsdTypeName)
 

Package Functions

void HandleRefTableProperties (ArrayList RefTables, XmlSchemaElement element)
 
void HandleRelation (XmlElement node, bool fNested)
 
XmlSchemaObjectCollection GetParticleItems (XmlSchemaParticle pt)
 
void HandleParticle (XmlSchemaParticle pt, DataTable table, ArrayList tableChildren, bool isBase)
 
void HandleAttributes (XmlSchemaObjectCollection attributes, DataTable table, bool isBase)
 
void HandleComplexType (XmlSchemaComplexType ct, DataTable table, ArrayList tableChildren, bool isNillable)
 
XmlSchemaParticle GetParticle (XmlSchemaComplexType ct)
 
DataColumn FindField (DataTable table, string field)
 
DataColumn[] BuildKey (XmlSchemaIdentityConstraint keyNode, DataTable table)
 
bool GetBooleanAttribute (XmlSchemaAnnotated element, string attrName, bool defVal)
 
string GetStringAttribute (XmlSchemaAnnotated element, string attrName, string defVal)
 
void HandleKeyref (XmlSchemaKeyref keyref)
 
void HandleConstraint (XmlSchemaIdentityConstraint keyNode)
 
DataTable InstantiateSimpleTable (XmlSchemaElement node)
 
string GetInstanceName (XmlSchemaAnnotated node)
 
DataTable InstantiateTable (XmlSchemaElement node, XmlSchemaComplexType typeNode, bool isRef)
 
XmlSchemaAnnotated FindTypeNode (XmlSchemaAnnotated node)
 
void HandleSimpleTypeSimpleContentColumn (XmlSchemaSimpleType typeNode, string strType, DataTable table, bool isBase, XmlAttribute[] attrs, bool isNillable)
 
void HandleSimpleContentColumn (string strType, DataTable table, bool isBase, XmlAttribute[] attrs, bool isNillable)
 
void HandleAttributeColumn (XmlSchemaAttribute attrib, DataTable table, bool isBase)
 
void HandleElementColumn (XmlSchemaElement elem, DataTable table, bool isBase)
 
void HandleDataSet (XmlSchemaElement node, bool isNewDataSet)
 
bool IsTable (XmlSchemaElement node)
 
DataTable HandleTable (XmlSchemaElement node)
 

Static Package Functions

static string QualifiedName (string name)
 
static void SetProperties (object instance, XmlAttribute[] attrs)
 
static string GetMsdataAttribute (XmlSchemaAnnotated node, string ln)
 
static AcceptRejectRule TranslateAcceptRejectRule (string strRule)
 
static Rule TranslateRule (string strRule)
 
static bool IsXsdType (string name)
 
static TypeConverter GetConverter (Type type)
 
static void SetProperties (object instance, XmlAttributeCollection attrs)
 
static bool FEqualIdentity (XmlNode node, string name, string ns)
 
static bool GetBooleanAttribute (XmlElement element, string attrName, string attrNS, bool defVal)
 
static string GenUniqueColumnName (string proposedName, DataTable table)
 

Properties

bool FromInference [get, set]
 

Private Member Functions

void CollectElementsAnnotations (XmlSchema schema)
 
void CollectElementsAnnotations (XmlSchema schema, ArrayList schemaList)
 
void HandleColumnExpression (object instance, XmlAttribute[] attrs)
 
bool HasAttributes (XmlSchemaObjectCollection attributes)
 
bool IsDatasetParticle (XmlSchemaParticle pt)
 
int DatasetElementCount (XmlSchemaObjectCollection elements)
 
XmlSchemaElement FindDatasetElement (XmlSchemaObjectCollection elements)
 
void HandleRelations (XmlSchemaAnnotation ann, bool fNested)
 
void HandleAttributeGroup (XmlSchemaAttributeGroup attributeGroup, DataTable table, bool isBase)
 
Type ParseDataType (string dt)
 
void AddTablesToList (List< DataTable > tableList, DataTable dt)
 
string GetPrefix (string ns)
 
string GetNamespaceFromPrefix (string prefix)
 
string GetTableNamespace (XmlSchemaIdentityConstraint key)
 
string GetTableName (XmlSchemaIdentityConstraint key)
 

Static Private Member Functions

static void SetExtProperties (object instance, XmlAttribute[] attrs)
 
static void SetExtProperties (object instance, XmlAttributeCollection attrs)
 
static NameType FindNameType (string name)
 

Private Attributes

XmlSchemaSet _schemaSet
 
XmlSchemaElement _dsElement
 
DataSet _ds
 
string _schemaName
 
ArrayList _columnExpressions
 
Hashtable _constraintNodes
 
ArrayList _refTables
 
ArrayList _complexTypes
 
XmlSchemaObjectCollection _annotations
 
XmlSchemaObjectCollection _elements
 
Hashtable _attributes
 
Hashtable _elementsTable
 
Hashtable _attributeGroups
 
Hashtable _schemaTypes
 
Hashtable _expressions
 
Dictionary< DataTable, List< DataTable > > _tableDictionary
 
Hashtable _udSimpleTypes
 
Hashtable _existingSimpleTypeMap
 
bool _fromInference
 

Static Private Attributes

static readonly NameType[] s_mapNameTypeXsd
 

Detailed Description

Definition at line 12 of file XSDSchema.cs.


The documentation for this class was generated from the following file: