internal void InitVars(bool initTable) {
     this.tableVendorOffence = ((VendorOffenceDataTable)(base.Tables["VendorOffence"]));
     if ((initTable == true)) {
         if ((this.tableVendorOffence != null)) {
             this.tableVendorOffence.InitVars();
         }
     }
     this.tableVendorInvestigation = ((VendorInvestigationDataTable)(base.Tables["VendorInvestigation"]));
     if ((initTable == true)) {
         if ((this.tableVendorInvestigation != null)) {
             this.tableVendorInvestigation.InitVars();
         }
     }
     this.tableHighCourtAppeal = ((HighCourtAppealDataTable)(base.Tables["HighCourtAppeal"]));
     if ((initTable == true)) {
         if ((this.tableHighCourtAppeal != null)) {
             this.tableHighCourtAppeal.InitVars();
         }
     }
     this.relationFK_VendorInvestigation_VendorOffence = this.Relations["FK_VendorInvestigation_VendorOffence"];
     this.relationFK_HighCourtAppeal_VendorOffence = this.Relations["FK_HighCourtAppeal_VendorOffence"];
 }
 private void InitClass() {
     this.DataSetName = "VendorOffence";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/VendorOffence.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableVendorOffence = new VendorOffenceDataTable();
     base.Tables.Add(this.tableVendorOffence);
     this.tableVendorInvestigation = new VendorInvestigationDataTable();
     base.Tables.Add(this.tableVendorInvestigation);
     this.tableHighCourtAppeal = new HighCourtAppealDataTable();
     base.Tables.Add(this.tableHighCourtAppeal);
     this.relationFK_VendorInvestigation_VendorOffence = new global::System.Data.DataRelation("FK_VendorInvestigation_VendorOffence", new global::System.Data.DataColumn[] {
                 this.tableVendorOffence.VendorOffenceIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableVendorInvestigation.VendorOffenceIdColumn}, false);
     this.Relations.Add(this.relationFK_VendorInvestigation_VendorOffence);
     this.relationFK_HighCourtAppeal_VendorOffence = new global::System.Data.DataRelation("FK_HighCourtAppeal_VendorOffence", new global::System.Data.DataColumn[] {
                 this.tableVendorOffence.VendorOffenceIdColumn}, new global::System.Data.DataColumn[] {
                 this.tableHighCourtAppeal.VendorOffenceIdColumn}, false);
     this.Relations.Add(this.relationFK_HighCourtAppeal_VendorOffence);
 }
 internal VendorOffenceRow(global::System.Data.DataRowBuilder rb) : 
         base(rb) {
     this.tableVendorOffence = ((VendorOffenceDataTable)(this.Table));
 }