public override global::System.Data.DataTable Clone() { MaterialsDataTable cln = ((MaterialsDataTable)(base.Clone())); cln.InitVars(); return(cln); }
private void InitClass() { this.DataSetName = "MaterialDB"; this.Prefix = ""; this.Namespace = "http://tempuri.org/MaterialDB.xsd"; this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tableMaterials = new MaterialsDataTable(); base.Tables.Add(this.tableMaterials); }
internal void InitVars(bool initTable) { this.tableMaterials = ((MaterialsDataTable)(base.Tables["Materials"])); if ((initTable == true)) { if ((this.tableMaterials != null)) { this.tableMaterials.InitVars(); } } }
internal MaterialsRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableMaterials = ((MaterialsDataTable)(this.Table)); }
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); }
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"]; }
internal MaterialsRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableMaterials = ((MaterialsDataTable)(this.Table)); }