private void ReadTable(XmlSchemaComplexType complexType, CremaDataTable dataTable) { if (this.version.Major == 3) { this.ReadTableInfo(complexType, dataTable); } else { this.ReadTableInfoVersion2(complexType, dataTable); } foreach (var item in complexType.GetAttributes()) { this.ReadAttribute(item, dataTable); } foreach (var item in complexType.GetSequenceElements()) { if (item.ElementSchemaType is XmlSchemaSimpleType) { this.ReadColumn(item, dataTable); } } dataTable.SchemaHashValue = this.hashValue; }