Definition at line 600 of file XSDSchema.cs.
601 {
606 bool flag = false;
609 {
610 return;
611 }
616 try
617 {
619 {
623 {
625 }
628 if (
ds._namespaceURI ==
null ||
ds._namespaceURI.Length == 0)
629 {
631 }
632 }
633 }
634 finally
635 {
638 {
640 }
641 }
650 foreach (DataTable table
in ds.Tables)
651 {
652 foreach (DataColumn
column in table.Columns)
653 {
654 if (
column.SimpleType !=
null &&
column.SimpleType.Name !=
null &&
column.SimpleType.Name.Length != 0)
655 {
657 }
658 }
659 }
661 {
663 }
666 {
669 {
671 }
672 }
673 else
674 {
676 {
678 }
679 flag = true;
680 }
682 if (
ds !=
null &&
ds._useDataSetSchemaOnly)
683 {
685 if (num == 0)
686 {
687 throw ExceptionBuilder.IsDataSetAttributeMissingInSchema();
688 }
689 if (num > 1)
690 {
691 throw ExceptionBuilder.TooManyIsDataSetAttributesInSchema();
692 }
695 {
698 {
700 {
702 {
704 }
705 }
706 }
707 }
708 }
710 {
712 {
715 {
717 }
718 else
719 {
721 }
722 }
723 }
725 {
727 }
729 {
731 }
733 {
736 }
737 foreach (DataTable
table2 in ds.Tables)
738 {
739 if (
table2.NestedParentRelations.Length != 0 || !(
table2.Namespace ==
ds.Namespace))
740 {
741 continue;
742 }
745 {
747 {
749 }
750 }
752 }
755 {
757 }
759 {
761 }
763 if (!flag)
764 {
765 return;
766 }
768 {
771 return;
772 }
774 {
776 }
777 }
virtual bool Contains(object? item)
Enumerator GetEnumerator()
string GetInstanceName(XmlSchemaAnnotated node)
Hashtable _constraintNodes
int DatasetElementCount(XmlSchemaObjectCollection elements)
void CollectElementsAnnotations(XmlSchema schema)
string GetStringAttribute(XmlSchemaAnnotated element, string attrName, string defVal)
Dictionary< DataTable, List< DataTable > > _tableDictionary
XmlSchemaObjectCollection _elements
XmlSchemaElement _dsElement
ArrayList _columnExpressions
XmlSchemaObjectCollection _annotations
XmlSchemaElement FindDatasetElement(XmlSchemaObjectCollection elements)
void HandleRefTableProperties(ArrayList RefTables, XmlSchemaElement element)
DataTable HandleTable(XmlSchemaElement node)
Hashtable _attributeGroups
void HandleDataSet(XmlSchemaElement node, bool isNewDataSet)
XmlSchemaObjectCollection GetParticleItems(XmlSchemaParticle pt)
XmlSchemaAnnotated FindTypeNode(XmlSchemaAnnotated node)
Hashtable _existingSimpleTypeMap
void HandleRelations(XmlSchemaAnnotation ann, bool fNested)
XmlQualifiedName QualifiedName
static ? string DecodeName(string? name)
References System.Data.XSDSchema._annotations, System.Data.XSDSchema._attributeGroups, System.Data.XSDSchema._attributes, System.Data.XSDSchema._columnExpressions, System.Data.XSDSchema._complexTypes, System.Data.XSDSchema._constraintNodes, System.Data.XSDSchema._ds, System.Data.XSDSchema._dsElement, System.Data.XSDSchema._elements, System.Data.XSDSchema._elementsTable, System.Data.XSDSchema._existingSimpleTypeMap, System.Data.XSDSchema._expressions, System.Data.XSDSchema._refTables, System.Data.XSDSchema._schemaName, System.Data.XSDSchema._schemaSet, System.Data.XSDSchema._schemaTypes, System.Data.XSDSchema._tableDictionary, System.Data.XSDSchema.CollectElementsAnnotations(), System.Data.DataTable.Columns, System.Collections.ArrayList.Contains(), System.Collections.Generic.Dictionary< TKey, TValue >.Count, System.Collections.ArrayList.Count, System.Data.XSDSchema.DatasetElementCount(), System.Xml.XmlConvert.DecodeName(), System.Xml.Dictionary, System.Data.XSDSchema.FindDatasetElement(), System.Data.XSDSchema.FindTypeNode(), System.Data.XSDSchema.FromInference, System.Collections.Generic.Dictionary< TKey, TValue >.GetEnumerator(), System.Data.XSDSchema.GetInstanceName(), System.Data.XSDSchema.GetParticleItems(), System.Data.XSDSchema.GetStringAttribute(), System.Data.XSDSchema.HandleDataSet(), System.Data.XSDSchema.HandleRefTableProperties(), System.Data.XSDSchema.HandleRelations(), System.Data.XSDSchema.HandleTable(), System.Data.ExceptionBuilder.IsDataSetAttributeMissingInSchema(), System.item, System.list, System.Data.Name, System.Xml.XmlQualifiedName.Namespace, System.Xml.Schema.XmlSchemaObject.Parent, System.Xml.Schema.XmlSchemaElement.QualifiedName, and System.Data.ExceptionBuilder.TooManyIsDataSetAttributesInSchema().