Example #1
0
 internal void InitVars(bool initTable) {
     this.tableComplainDetails = ((ComplainDetailsDataTable)(base.Tables["ComplainDetails"]));
     if ((initTable == true)) {
         if ((this.tableComplainDetails != null)) {
             this.tableComplainDetails.InitVars();
         }
     }
     this.tableInvestigation = ((InvestigationDataTable)(base.Tables["Investigation"]));
     if ((initTable == true)) {
         if ((this.tableInvestigation != null)) {
             this.tableInvestigation.InitVars();
         }
     }
     this.relationFK_Investigation_ComplainDetails = this.Relations["FK_Investigation_ComplainDetails"];
 }
Example #2
0
 private void InitClass() {
     this.DataSetName = "Complain";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/Complain.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableComplainDetails = new ComplainDetailsDataTable();
     base.Tables.Add(this.tableComplainDetails);
     this.tableInvestigation = new InvestigationDataTable();
     base.Tables.Add(this.tableInvestigation);
     this.relationFK_Investigation_ComplainDetails = new global::System.Data.DataRelation("FK_Investigation_ComplainDetails", new global::System.Data.DataColumn[] {
                 this.tableComplainDetails.ComplainIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableInvestigation.ComplainIdColumn}, false);
     this.Relations.Add(this.relationFK_Investigation_ComplainDetails);
 }
Example #3
0
 internal ComplainDetailsRow(global::System.Data.DataRowBuilder rb) : 
         base(rb) {
     this.tableComplainDetails = ((ComplainDetailsDataTable)(this.Table));
 }