Aspose.Cells.GridWeb.Examples.CSharp.Articles.DataSet1.InitClass C# (CSharp) Method

InitClass() private method

private InitClass ( ) : void
return void
        private void InitClass() {
            this.DataSetName = "DataSet1";
            this.Prefix = "";
            this.Namespace = "http://www.tempuri.org/DataSet1.xsd";
            this.Locale = new global::System.Globalization.CultureInfo("zh-CN");
            this.EnforceConstraints = true;
            this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
            this.tableCustomers = new CustomersDataTable();
            base.Tables.Add(this.tableCustomers);
            this.tableProducts = new ProductsDataTable();
            base.Tables.Add(this.tableProducts);
            this.tableCategories = new CategoriesDataTable();
            base.Tables.Add(this.tableCategories);
        }