C# Класс System.Data.XmlTreeGen

Показать файл Открыть проект Примеры использования класса

Приватные методы

Метод Описание
AddColumnProperties ( DataColumn col, XmlElement root ) : void
AddExtendedProperties ( PropertyCollection props, XmlElement node ) : void
AddExtendedProperties ( PropertyCollection props, XmlElement node, Type type ) : void
AddXdoProperties ( object instance, XmlElement root, XmlDocument xd ) : void
AddXdoProperty ( PropertyDescriptor pd, object instance, XmlElement root, XmlDocument xd ) : void
AppendChildWithoutRef ( XmlElement node, string Namespace, XmlElement el, string refString ) : void
AutoGenerated ( DataColumn col ) : bool
AutoGenerated ( DataRelation rel ) : bool
AutoGenerated ( ForeignKeyConstraint fk ) : bool
AutoGenerated ( ForeignKeyConstraint fk, bool checkRelation ) : bool
AutoGenerated ( UniqueConstraint unique ) : bool
CreateRelations ( DataTable dt ) : void
CreateTablesHierarchy ( DataTable dt ) : void
CreateToplevelTables ( ) : DataTable[]
FillDataSetElement ( XmlDocument xd, DataSet ds, DataTable dt ) : XmlElement
FindSimpleType ( XmlElement schema, string name ) : XmlElement
FindTargetNamespace ( DataTable table ) : string
FindTypeNode ( XmlElement node, string strType ) : XmlElement
GenerateConstraintNames ( ArrayList tables ) : void
GenerateConstraintNames ( DataSet ds ) : void
GenerateConstraintNames ( DataTable table, bool fromTable ) : void
GetSchema ( string NamespaceURI ) : XmlElement
HandleColumn ( DataColumn col, XmlDocument dc, XmlElement schema, bool fWriteOrdinal ) : XmlElement
HandleColumnType ( DataColumn col, XmlDocument dc, XmlElement root, XmlElement schema ) : void
HandleRelation ( DataRelation rel, XmlDocument dc ) : XmlElement
HandleTable ( DataTable table, XmlDocument dc, XmlElement schema ) : XmlElement
HandleTable ( DataTable table, XmlDocument dc, XmlElement schema, bool genNested ) : XmlElement
HasMixedColumns ( DataTable table ) : bool
HaveExtendedProperties ( DataSet ds ) : bool
IsAutoGenerated ( object o ) : bool
Save ( DataSet ds, DataTable dt, XmlWriter xw ) : void
Save ( DataSet ds, DataTable dt, XmlWriter xw, bool writeHierarchy ) : void
Save ( DataSet ds, DataTable dt, XmlWriter xw, bool writeHierarchy, string>.Converter multipleTargetConverter ) : void
Save ( DataSet ds, XmlWriter xw ) : void
Save ( DataTable dt, XmlWriter xw ) : void
SchemaTree ( XmlDocument xd, DataTable dt ) : XmlElement
SchemaTree ( XmlDocument xd, XmlWriter xmlWriter, DataSet ds, DataTable dt, bool writeHierarchy ) : void
SetMSDataAttribute ( XmlElement root, Type type ) : void

resolve the name from the type for schema output and set the msdata:Data attribute

SetPath ( XmlWriter xw ) : void
SetupAutoGenerated ( ArrayList dt ) : void
SetupAutoGenerated ( DataSet ds ) : void
SetupAutoGenerated ( DataTable dt ) : void
TranslateAcceptRejectRule ( AcceptRejectRule rule ) : string
TranslateRule ( Rule rule ) : string
ValidateColumnMapping ( Type columnType ) : void
WriteSchemaRoot ( XmlDocument xd, XmlElement rootSchema, string targetNamespace ) : void
XmlDataTypeName ( Type type ) : string
XmlTreeGen ( SchemaFormat format ) : System.Collections
_PropsNotEmpty ( PropertyCollection props ) : bool