System.Data.XmlSchemaWriter.XmlSchemaWriter C# (CSharp) Метод

XmlSchemaWriter() публичный Метод

public XmlSchemaWriter ( XmlWriter writer, DataTable tables, DataRelation relations, string mainDataTable, string dataSetName, CultureInfo locale ) : System
writer System.Xml.XmlWriter
tables DataTable
relations DataRelation
mainDataTable string
dataSetName string
locale System.Globalization.CultureInfo
Результат System
		public XmlSchemaWriter (XmlWriter writer,
			DataTable[] tables,
			DataRelation[] relations,
			string mainDataTable,
			string dataSetName,
			CultureInfo locale)
		{
			w = writer;
			this.tables = tables;
			this.relations = relations;
			this.mainDataTable = mainDataTable;
			this.dataSetName = dataSetName;
			this.dataSetLocale = locale;
			this.dataSetProperties = new PropertyCollection();
			if (tables[0].DataSet != null) {
				dataSetNamespace = tables[0].DataSet.Namespace;
#if !NET_2_0
				dataSetLocale = tables[0].DataSet.Locale;
#endif
			} else {
				dataSetNamespace = tables[0].Namespace;
#if !NET_2_0
				dataSetLocale = tables[0].Locale;
#endif
			}
		}

Same methods

XmlSchemaWriter::XmlSchemaWriter ( DataSet dataset, XmlWriter writer, DataTableCollection tables, DataRelationCollection relations ) : System