internal void CheckNamespaceValidityForNestedRelations(string realNamespace)
{
foreach (DataRelation rel in ChildRelations)
{
if (rel.Nested)
{
if (realNamespace != null)
{
rel.ChildTable.CheckNamespaceValidityForNestedParentRelations(realNamespace, this);
}
else
{
rel.ChildTable.CheckNamespaceValidityForNestedParentRelations(GetInheritedNamespace(new List<DataTable>()), this);
}
}
}
if (realNamespace == null)
{
// this will affect this table if it has parent relations
CheckNamespaceValidityForNestedParentRelations(GetInheritedNamespace(new List<DataTable>()), this);
}
}
internal void CheckNamespaceValidityForNestedParentRelations(string ns, DataTable parentTable)