Пример #1
0
 private void InitClass() {
     this.DataSetName = "DataSet";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/DataSet.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableMaterials = new MaterialsDataTable();
     base.Tables.Add(this.tableMaterials);
     this.tableDetailsListsDetails = new DetailsListsDetailsDataTable();
     base.Tables.Add(this.tableDetailsListsDetails);
     this.tableDetailsLists = new DetailsListsDataTable();
     base.Tables.Add(this.tableDetailsLists);
     this.tableSheets = new SheetsDataTable();
     base.Tables.Add(this.tableSheets);
     this.relationFK_DetailsListsDetails_DetailsLists = new global::System.Data.DataRelation("FK_DetailsListsDetails_DetailsLists", new global::System.Data.DataColumn[] {
                 this.tableDetailsLists.DetailsListIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableDetailsListsDetails.DetailsListIDColumn}, false);
     this.Relations.Add(this.relationFK_DetailsListsDetails_DetailsLists);
     this.relationFK_DetailsListsDetails_Materials = new global::System.Data.DataRelation("FK_DetailsListsDetails_Materials", new global::System.Data.DataColumn[] {
                 this.tableMaterials.MaterialIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableDetailsListsDetails.MaterialIDColumn}, false);
     this.Relations.Add(this.relationFK_DetailsListsDetails_Materials);
     this.relationFK_Sheets_Materials = new global::System.Data.DataRelation("FK_Sheets_Materials", new global::System.Data.DataColumn[] {
                 this.tableMaterials.MaterialIDColumn}, new global::System.Data.DataColumn[] {
                 this.tableSheets.MaterialIDColumn}, false);
     this.Relations.Add(this.relationFK_Sheets_Materials);
 }
Пример #2
0
 internal void InitVars(bool initTable) {
     this.tableMaterials = ((MaterialsDataTable)(base.Tables["Materials"]));
     if ((initTable == true)) {
         if ((this.tableMaterials != null)) {
             this.tableMaterials.InitVars();
         }
     }
     this.tableDetailsListsDetails = ((DetailsListsDetailsDataTable)(base.Tables["DetailsListsDetails"]));
     if ((initTable == true)) {
         if ((this.tableDetailsListsDetails != null)) {
             this.tableDetailsListsDetails.InitVars();
         }
     }
     this.tableDetailsLists = ((DetailsListsDataTable)(base.Tables["DetailsLists"]));
     if ((initTable == true)) {
         if ((this.tableDetailsLists != null)) {
             this.tableDetailsLists.InitVars();
         }
     }
     this.tableSheets = ((SheetsDataTable)(base.Tables["Sheets"]));
     if ((initTable == true)) {
         if ((this.tableSheets != null)) {
             this.tableSheets.InitVars();
         }
     }
     this.relationFK_DetailsListsDetails_DetailsLists = this.Relations["FK_DetailsListsDetails_DetailsLists"];
     this.relationFK_DetailsListsDetails_Materials = this.Relations["FK_DetailsListsDetails_Materials"];
     this.relationFK_Sheets_Materials = this.Relations["FK_Sheets_Materials"];
 }
Пример #3
0
 private void InitClass() {
     this.DataSetName = "DataSet";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/DataSet.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableDetailsLists = new DetailsListsDataTable();
     base.Tables.Add(this.tableDetailsLists);
     this.tableSheets = new SheetsDataTable();
     base.Tables.Add(this.tableSheets);
 }
Пример #4
0
 internal SheetsRow(global::System.Data.DataRowBuilder rb) : 
         base(rb) {
     this.tableSheets = ((SheetsDataTable)(this.Table));
 }
Пример #5
0
 internal void InitVars(bool initTable) {
     this.tableDetailsLists = ((DetailsListsDataTable)(base.Tables["DetailsLists"]));
     if ((initTable == true)) {
         if ((this.tableDetailsLists != null)) {
             this.tableDetailsLists.InitVars();
         }
     }
     this.tableSheets = ((SheetsDataTable)(base.Tables["Sheets"]));
     if ((initTable == true)) {
         if ((this.tableSheets != null)) {
             this.tableSheets.InitVars();
         }
     }
 }