Definition at line 1635 of file XSDSchema.cs.
1636 {
1638 {
1639 return;
1640 }
1643 if (
typeNode.QualifiedName.Name !=
null &&
typeNode.QualifiedName.Name.Length != 0 &&
typeNode.QualifiedName.Namespace !=
"http://www.w3.org/2001/XMLSchema")
1644 {
1648 }
1650 {
1654 {
1656 }
1659 }
1660 else
1661 {
1663 }
1666 {
1667 int num = 0;
1669 while (table.Columns[
text] !=
null)
1670 {
1672 }
1673 }
1674 else
1675 {
1677 }
1679 bool flag = true;
1682 {
1684 flag = false;
1685 }
1686 else
1687 {
1689 }
1694 string text3 =
null;
1697 {
1698 for (
int i = 0;
i <
attrs.Length;
i++)
1699 {
1700 if (
attrs[i].LocalName ==
"AllowDBNull" &&
attrs[i].NamespaceURI ==
"urn:schemas-microsoft-com:xml-msdata" &&
attrs[i].Value ==
"false")
1701 {
1703 }
1704 if (
attrs[i].LocalName ==
"Ordinal" &&
attrs[i].NamespaceURI ==
"urn:schemas-microsoft-com:xml-msdata")
1705 {
1707 }
1708 if (
attrs[i].LocalName ==
"DefaultValue" &&
attrs[i].NamespaceURI ==
"urn:schemas-microsoft-com:xml-msdata")
1709 {
1711 }
1712 }
1713 }
1716 {
1718 }
1720 {
1722 {
1724 }
1725 }
1726 else
1727 {
1729 }
1731 if (flag)
1732 {
1734 {
1737 }
1739 {
1741 }
1742 else
1743 {
1745 }
1746 }
1748 {
1749 try
1750 {
1752 }
1753 catch (FormatException)
1754 {
1755 throw ExceptionBuilder.CannotConvert(
text3,
type.FullName);
1756 }
1757 }
1758 }
virtual int Add(object? value)
bool ICollection< KeyValuePair< TKey, TValue > >. Contains(KeyValuePair< TKey, TValue > keyValuePair)
void HandleColumnExpression(object instance, XmlAttribute[] attrs)
static void SetExtProperties(object instance, XmlAttribute[] attrs)
ArrayList _columnExpressions
Type ParseDataType(string dt)
static string GetMsdataAttribute(XmlSchemaAnnotated node, string ln)
string GetPrefix(string ns)
static void SetProperties(object instance, XmlAttribute[] attrs)
static CultureInfo CurrentCulture
References System.Data.XSDSchema._columnExpressions, System.Data.DataColumnCollection.Add(), System.Collections.ArrayList.Add(), System.Data.DataColumnCollection.AddAt(), System.Data.ExceptionBuilder.CannotConvert(), System.Convert.ChangeType(), System.Data.DataTable.Columns, System.Data.DataColumnCollection.Contains(), System.Data.InternalDataCollectionBase.Count, System.Globalization.CultureInfo.CurrentCulture, System.Xml.Dictionary, System.Data.XSDSchema.FromInference, System.Data.XSDSchema.GetMsdataAttribute(), System.Data.XSDSchema.GetPrefix(), System.Data.XSDSchema.HandleColumnExpression(), System.Data.DataTable.Namespace, System.Data.XSDSchema.ParseDataType(), System.Data.XSDSchema.SetExtProperties(), System.Data.XSDSchema.SetProperties(), System.text, System.ToString, System.type, System.value, and System.Data.DataTable.XmlText.
Referenced by System.Data.XSDSchema.HandleComplexType().