internal void InitVars(bool initTable) {
     this.tabledtInvoiceHeader = ((dtInvoiceHeaderDataTable)(base.Tables["dtInvoiceHeader"]));
     if ((initTable == true)) {
         if ((this.tabledtInvoiceHeader != null)) {
             this.tabledtInvoiceHeader.InitVars();
         }
     }
     this.tabledtInvoiceLines = ((dtInvoiceLinesDataTable)(base.Tables["dtInvoiceLines"]));
     if ((initTable == true)) {
         if ((this.tabledtInvoiceLines != null)) {
             this.tabledtInvoiceLines.InitVars();
         }
     }
 }
 private void InitClass() {
     this.DataSetName = "dsCustomerInvoice";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/dsCustomerInvoice.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tabledtInvoiceHeader = new dtInvoiceHeaderDataTable();
     base.Tables.Add(this.tabledtInvoiceHeader);
     this.tabledtInvoiceLines = new dtInvoiceLinesDataTable();
     base.Tables.Add(this.tabledtInvoiceLines);
 }
 internal dtInvoiceHeaderRow(global::System.Data.DataRowBuilder rb) : 
         base(rb) {
     this.tabledtInvoiceHeader = ((dtInvoiceHeaderDataTable)(this.Table));
 }