44 if (
dt.DataSet ==
null)
76 for (
int j = 0;
j <
dataTable.ParentRelations.Count;
j++)
116 int count =
row.Table.Columns.Count;
117 if (
row.HasErrors &&
row.RowError.Length > 0)
121 for (
int i = 0; i <
count; i++)
201 _xmlw.
WriteAttributeString(
"xmlns",
"xsi",
"http://www.w3.org/2000/xmlns/",
"http://www.w3.org/2001/XMLSchema-instance");
331 else if (
column2.IsValueCustomTypeInstance(
obj))
399 if (
text.Length == 0)
403 for (
int i = 0; i <
text.Length; i++)
405 if (!
char.IsWhiteSpace(
text, i))
virtual int Add(object? value)
virtual bool Contains(object? item)
static readonly DBNull Value
static string GetQualifiedName(Type type)
static bool IsObjectSqlNull(object value)
static bool IsSqlType(StorageType storageType)
DataRow[] GetChildRows(string? relationName)
DataTable[] TopLevelTables()
DataColumnCollection Columns
static XmlWriter CreateWriter(XmlWriter xw)
static Exception MultipleParentRows(string tableQName)
static Exception PolymorphismNotSupported(string typeName)
static bool PreserveSpace(object value)
void XmlDataRowWriter(DataRow row, string encodedTableName)
void SaveDiffgramData(XmlWriter xw, Hashtable rowsOrder)
readonly ArrayList _dTables
readonly bool _writeHierarchy
XmlDataTreeWriter(DataSet ds)
readonly DataTable[] _topLevelTables
static bool RowHasErrors(DataRow row)
void Save(XmlWriter xw, bool writeSchema)
XmlDataTreeWriter(DataTable dt, bool writeHierarchy)
DataTable[] CreateToplevelTables()
readonly bool _fFromTable
void CreateTablesHierarchy(DataTable dt)
ArrayList GetNestedChildRelations(DataRow row)
static void ValidateColumnMapping(Type columnType)
static string XmlDataTypeName(Type type)
void Save(DataSet ds, XmlWriter xw)
static CultureInfo InvariantCulture
static ? Type GetType(string typeName, bool throwOnError, bool ignoreCase)
static ? string EncodeLocalName(string? name)
void WriteString(string? text)
void WriteAttributeString(string localName, string? ns, string? value)
void WriteStartElement(string localName, string? ns)