Definition at line 387 of file XSDSchema.cs.
  388    {
  393        {
  395            {
  396                return;
  397            }
  398        }
  399        string attribute = 
node.GetAttribute(
"parent", 
"urn:schemas-microsoft-com:xml-msdata");
 
  401        {
  402            throw ExceptionBuilder.RelationParentNameMissing(
text);
 
  403        }
  405        string attribute2 = 
node.GetAttribute(
"child", 
"urn:schemas-microsoft-com:xml-msdata");
 
  407        {
  408            throw ExceptionBuilder.RelationChildNameMissing(
text);
 
  409        }
  411        string attribute3 = 
node.GetAttribute(
"parentkey", 
"urn:schemas-microsoft-com:xml-msdata");
 
  413        {
  414            throw ExceptionBuilder.RelationTableKeyMissing(
text);
 
  415        }
  417        attribute3 = 
node.GetAttribute(
"childkey", 
"urn:schemas-microsoft-com:xml-msdata");
 
  419        {
  420            throw ExceptionBuilder.RelationChildKeyMissing(
text);
 
  421        }
  423        int num = 
array.Length;
 
  425        {
  426            throw ExceptionBuilder.MismatchKeyLength();
  427        }
  428        DataColumn[] 
array3 = 
new DataColumn[num];
 
  429        DataColumn[] 
array4 = 
new DataColumn[num];
 
  430        string attribute4 = 
node.GetAttribute(
"ParentTableNamespace", 
"urn:schemas-microsoft-com:xml-msdata");
 
  431        string attribute5 = 
node.GetAttribute(
"ChildTableNamespace", 
"urn:schemas-microsoft-com:xml-msdata");
 
  434        {
  435            throw ExceptionBuilder.ElementTypeNotFound(
attribute);
 
  436        }
  439        {
  440            throw ExceptionBuilder.ElementTypeNotFound(
attribute2);
 
  441        }
  442        for (
int j = 0; 
j < num; 
j++)
 
  443        {
  446            {
  447                throw ExceptionBuilder.ElementTypeNotFound(
array[
j]);
 
  448            }
  451            {
  452                throw ExceptionBuilder.ElementTypeNotFound(
array2[
j]);
 
  453            }
  454        }
  460        {
  462        }
  463    }
void Add(TKey key, TValue value)
 
void Add(DataRelation relation)
 
DataRelationCollection Relations
 
DataTableCollection Tables
 
DataTable GetTableSmart(string name, string ns)
 
Dictionary< DataTable, List< DataTable > > _tableDictionary
 
static void SetExtProperties(object instance, XmlAttribute[] attrs)
 
static ? string DecodeName(string? name)
 
 
References System.Data.XSDSchema._ds, System.Data.XSDSchema._tableDictionary, System.Data.DataRelationCollection.Add(), System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.array, System.Collections.Generic.Dictionary< TKey, TValue >.Count, System.Xml.XmlConvert.DecodeName(), System.Xml.Dictionary, System.Data.ExceptionBuilder.ElementTypeNotFound(), System.Data.XSDSchema.FromInference, System.Data.DataTableCollection.GetTableSmart(), System.Data.ExceptionBuilder.MismatchKeyLength(), System.Data.ExceptionBuilder.RelationChildKeyMissing(), System.Data.ExceptionBuilder.RelationChildNameMissing(), System.Data.ExceptionBuilder.RelationParentNameMissing(), System.Data.DataSet.Relations, System.Data.ExceptionBuilder.RelationTableKeyMissing(), System.Data.XSDSchema.SetExtProperties(), System.Data.DataSet.Tables, and System.text.
Referenced by System.Data.XSDSchema.HandleRelations().