143 if (
xmlNode.FirstChild !=
null)
148 if (
xmlNode.NextSibling !=
null)
156 if (
xmlNode.NextSibling !=
null)
173 string attribute2 =
node.GetAttribute(
"type",
"urn:schemas-microsoft-com:datatypes");
255 string[]
array =
dt.Split(
':');
256 if (
array.Length > 2)
260 if (
array.Length == 2)
301 if (
node.Attributes.Count > 0)
385 if (
node.Attributes !=
null)
387 for (
int i = 0; i <
node.Attributes.Count; i++)
389 if (
node.Attributes[i].NamespaceURI ==
"urn:schemas-microsoft-com:xml-msdata" &&
node.Attributes[i].LocalName ==
"Expression")
487 string name =
string.Empty;
494 if (attributes.
Count > 0)
513 string[]
array =
text.TrimEnd(
null).Split((
char[]?)
null);
514 int num =
array.Length;
516 for (
int i = 0; i < num; i++)
static int BinarySearch(Array array, object? value)
static int ToInt32(object? value)
static bool IsCatchableExceptionType(Exception e)
static object ChangeTypeForXML(object value, Type type)
void Add(DataColumn column)
void Add(DataRelation relation)
virtual ? DataSet DataSet
DataRelationCollection Relations
DataTableCollection Tables
void Add(DataTable table)
DataColumnCollection Columns
static Exception MissingAttribute(string attribute)
static Exception AttributeValues(string name, string value1, string value2)
static Exception UndefinedDatatype(string name)
static Exception InvalidAttributeValue(string name, string value)
static Exception ElementTypeNotFound(string name)
static Exception DuplicateDeclaration(string name)
static Exception CannotConvert(string name, string type)
static SimpleType CreateEnumeratedType(string values)
static SimpleType CreateSimpleType(StorageType typeCode, Type type)
static SimpleType CreateByteArrayType(string encoding)
NameType(string n, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicFields|DynamicallyAccessedMemberTypes.PublicProperties)] Type t)
int CompareTo(object obj)
string GetInstanceName(XmlElement node)
bool IsXDRField(XmlElement node, XmlElement typeNode)
XmlElement FindTypeNode(XmlElement node)
static readonly NameType s_enumerationNameType
XDRSchema(DataSet ds, bool fInline)
void GetMinMax(XmlElement elNode, bool isAttribute, ref int minOccurs, ref int maxOccurs)
bool IsTextOnlyContent(XmlElement node)
Type ParseDataType(string dt, string dtValues)
void HandleTypeNode(XmlElement typeNode, DataTable table, ArrayList tableChildren)
DataTable InstantiateTable(DataSet dataSet, XmlElement node, XmlElement typeNode)
DataTable HandleTable(XmlElement node)
DataTable InstantiateSimpleTable(DataSet dataSet, XmlElement node)
void GetMinMax(XmlElement elNode, ref int minOccurs, ref int maxOccurs)
void HandleColumn(XmlElement node, DataTable table)
static NameType FindNameType(string name)
void LoadSchema(XmlElement schemaRoot, DataSet ds)
static readonly NameType[] s_mapNameTypeXdr
static void SetProperties(object instance, XmlAttributeCollection attrs)
static bool FEqualIdentity(XmlNode node, string name, string ns)
static string GenUniqueColumnName(string proposedName, DataTable table)
static CultureInfo InvariantCulture
static ? string DecodeName(string? name)
virtual string GetAttribute(string name)
virtual ? XmlNode ParentNode
virtual ? XmlNode NextSibling
virtual ? XmlDocument OwnerDocument
virtual ? XmlNode FirstChild
DynamicallyAccessedMemberTypes