147 for (
int i = 0; i <
node.Attributes.
Count; i++)
225 for (
int i = 0; i <
count; i++)
263 return ns.Equals(
"http://www.w3.org/2000/xmlns/");
317 if (
xdoc.DocumentElement ==
null)
459 if (!
column.AutoIncrement)
640 if (!(
flag2 || flag))
702 string key =
string.Empty;
821 if (
text ==
"modified" || flag)
860 string text =
string.Empty;
881 if (!flag &&
text4 !=
null &&
text4.Length > 0)
900 if (
column.Table.DataSet !=
null &&
column.Table.DataSet._udtIsWrapped)
937 if (
text.Length == 0)
void Add(TKey key, TValue value)
static ? object ChangeType(object? value, TypeCode typeCode)
static readonly DBNull Value
static Type GetType(string value)
static object GetStaticNullForUdtType([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicFields|DynamicallyAccessedMemberTypes.PublicProperties)] Type type)
virtual MappingType ColumnMapping
void DiffInsertAt(DataRow row, int pos)
DataRow AddWithColumnEvents(params object[] values)
void ReadXSDSchema(XmlReader reader, bool denyResolving)
int NewUninitializedRecord()
void ReadXSDSchema(XmlReader reader, bool denyResolving)
DataColumnCollection Columns
static XmlReader CreateReader(XmlReader xr)
static Exception FoundEntity()
static bool GetBooleanAttribute(XmlElement element, string attrName, string attrNS, bool defVal)
bool FColumnElement(XmlElement e)
void AttachRows(DataRow parentRow, XmlNode parentElement)
void LoadTable(DataTable table, bool isNested)
void LoadData(XmlDocument xdoc)
void LoadTopMostTable(DataTable table)
readonly Hashtable _nodeToRowMap
readonly bool _ignoreSchema
void LoadColumn(DataColumn column, object[] foundColumns)
XmlDataLoader(DataTable datatable, bool IsXdr, XmlElement topNode, bool ignoreSchema)
XmlDataLoader(DataSet dataset, bool IsXdr, bool ignoreSchema)
bool FExcludedNamespace(string ns)
readonly bool _isTableLevel
readonly DataTable _dataTable
XmlDataLoader(DataTable datatable, bool IsXdr, bool ignoreSchema)
readonly Stack< DataRow > _childRowsStack
string GetInitialTextFromNodes(ref XmlNode n)
void LoadRowData(DataRow row, XmlElement rowElement)
DataColumn GetTextOnlyColumn(DataRow row)
string GetValueForTextOnlyColums(XmlNode n)
readonly DataSet _dataSet
XmlToDatasetMap _nodeToSchemaMap
void LoadData(XmlReader reader)
bool FIgnoreNamespace(XmlReader node)
XmlDataLoader(DataSet dataset, bool IsXdr, XmlElement topNode, bool ignoreSchema)
bool IsTextLikeNode(XmlNodeType n)
void SetRowValueFromXmlText(DataRow row, DataColumn col, string xmlText)
int CountNonNSAttributes(XmlNode node)
bool FIgnoreNamespace(XmlNode node)
void LoadRows(DataRow parentRow, XmlNode parentElement)
bool IsTextOnly(DataColumn c)
DataRow GetRowFromElement(XmlElement e)
DataTable GetTableForNode(XmlReader node, bool fIgnoreNamespace)
object GetSchemaForNode(XmlNode node, bool fIgnoreNamespace)
static bool IsMappedColumn(DataColumn c)
object GetColumnSchema(XmlNode node, bool fIgnoreNamespace)
static CultureInfo InvariantCulture
static bool ToBoolean(string s)
static ? string DecodeName(string? name)
override XmlAttributeCollection Attributes
virtual ? XmlNode FirstChild
string? GetAttribute(string name)
bool MoveToAttribute(string name)
virtual string ReadString()