internal OriginalUnitRow(global::System.Data.DataRowBuilder rb) : 
         base(rb) {
     this.tableOriginalUnit = ((OriginalUnitDataTable)(this.Table));
 }
 private void InitClass() {
     this.DataSetName = "ProjectCostingSheetAddTDS";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/ProjectCostingSheetAddTDS.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableBasicInformation = new BasicInformationDataTable();
     base.Tables.Add(this.tableBasicInformation);
     this.tableUnitsInformation = new UnitsInformationDataTable();
     base.Tables.Add(this.tableUnitsInformation);
     this.tableLabourHoursInformation = new LabourHoursInformationDataTable();
     base.Tables.Add(this.tableLabourHoursInformation);
     this.tableMaterialsInformation = new MaterialsInformationDataTable();
     base.Tables.Add(this.tableMaterialsInformation);
     this.tableEmployeeList = new EmployeeListDataTable();
     base.Tables.Add(this.tableEmployeeList);
     this.tableWorkList = new WorkListDataTable();
     base.Tables.Add(this.tableWorkList);
     this.tableOriginalLabourHour = new OriginalLabourHourDataTable();
     base.Tables.Add(this.tableOriginalLabourHour);
     this.tableOtherCostsInformation = new OtherCostsInformationDataTable();
     base.Tables.Add(this.tableOtherCostsInformation);
     this.tableUnitList = new UnitListDataTable();
     base.Tables.Add(this.tableUnitList);
     this.tableOriginalUnit = new OriginalUnitDataTable();
     base.Tables.Add(this.tableOriginalUnit);
     this.tableMaterialList = new MaterialListDataTable();
     base.Tables.Add(this.tableMaterialList);
     this.tableOriginalMaterial = new OriginalMaterialDataTable();
     base.Tables.Add(this.tableOriginalMaterial);
     this.tableEmployeePayPeriod = new EmployeePayPeriodDataTable();
     base.Tables.Add(this.tableEmployeePayPeriod);
     this.tableUnitPayPeriod = new UnitPayPeriodDataTable();
     base.Tables.Add(this.tableUnitPayPeriod);
     this.tableMaterialPayPeriod = new MaterialPayPeriodDataTable();
     base.Tables.Add(this.tableMaterialPayPeriod);
 }
 internal void InitVars(bool initTable) {
     this.tableBasicInformation = ((BasicInformationDataTable)(base.Tables["BasicInformation"]));
     if ((initTable == true)) {
         if ((this.tableBasicInformation != null)) {
             this.tableBasicInformation.InitVars();
         }
     }
     this.tableUnitsInformation = ((UnitsInformationDataTable)(base.Tables["UnitsInformation"]));
     if ((initTable == true)) {
         if ((this.tableUnitsInformation != null)) {
             this.tableUnitsInformation.InitVars();
         }
     }
     this.tableLabourHoursInformation = ((LabourHoursInformationDataTable)(base.Tables["LabourHoursInformation"]));
     if ((initTable == true)) {
         if ((this.tableLabourHoursInformation != null)) {
             this.tableLabourHoursInformation.InitVars();
         }
     }
     this.tableMaterialsInformation = ((MaterialsInformationDataTable)(base.Tables["MaterialsInformation"]));
     if ((initTable == true)) {
         if ((this.tableMaterialsInformation != null)) {
             this.tableMaterialsInformation.InitVars();
         }
     }
     this.tableEmployeeList = ((EmployeeListDataTable)(base.Tables["EmployeeList"]));
     if ((initTable == true)) {
         if ((this.tableEmployeeList != null)) {
             this.tableEmployeeList.InitVars();
         }
     }
     this.tableOriginalLabourHour = ((OriginalLabourHourDataTable)(base.Tables["OriginalLabourHour"]));
     if ((initTable == true)) {
         if ((this.tableOriginalLabourHour != null)) {
             this.tableOriginalLabourHour.InitVars();
         }
     }
     this.tableOtherCostsInformation = ((OtherCostsInformationDataTable)(base.Tables["OtherCostsInformation"]));
     if ((initTable == true)) {
         if ((this.tableOtherCostsInformation != null)) {
             this.tableOtherCostsInformation.InitVars();
         }
     }
     this.tableUnitList = ((UnitListDataTable)(base.Tables["UnitList"]));
     if ((initTable == true)) {
         if ((this.tableUnitList != null)) {
             this.tableUnitList.InitVars();
         }
     }
     this.tableOriginalUnit = ((OriginalUnitDataTable)(base.Tables["OriginalUnit"]));
     if ((initTable == true)) {
         if ((this.tableOriginalUnit != null)) {
             this.tableOriginalUnit.InitVars();
         }
     }
     this.tableMaterialList = ((MaterialListDataTable)(base.Tables["MaterialList"]));
     if ((initTable == true)) {
         if ((this.tableMaterialList != null)) {
             this.tableMaterialList.InitVars();
         }
     }
     this.tableOriginalMaterial = ((OriginalMaterialDataTable)(base.Tables["OriginalMaterial"]));
     if ((initTable == true)) {
         if ((this.tableOriginalMaterial != null)) {
             this.tableOriginalMaterial.InitVars();
         }
     }
     this.tableEmployeePayPeriod = ((EmployeePayPeriodDataTable)(base.Tables["EmployeePayPeriod"]));
     if ((initTable == true)) {
         if ((this.tableEmployeePayPeriod != null)) {
             this.tableEmployeePayPeriod.InitVars();
         }
     }
     this.tableUnitPayPeriod = ((UnitPayPeriodDataTable)(base.Tables["UnitPayPeriod"]));
     if ((initTable == true)) {
         if ((this.tableUnitPayPeriod != null)) {
             this.tableUnitPayPeriod.InitVars();
         }
     }
     this.tableMaterialPayPeriod = ((MaterialPayPeriodDataTable)(base.Tables["MaterialPayPeriod"]));
     if ((initTable == true)) {
         if ((this.tableMaterialPayPeriod != null)) {
             this.tableMaterialPayPeriod.InitVars();
         }
     }
     this.tableFunctionList = ((FunctionListDataTable)(base.Tables["FunctionList"]));
     if ((initTable == true)) {
         if ((this.tableFunctionList != null)) {
             this.tableFunctionList.InitVars();
         }
     }
     this.tableSubcontractorsInformation = ((SubcontractorsInformationDataTable)(base.Tables["SubcontractorsInformation"]));
     if ((initTable == true)) {
         if ((this.tableSubcontractorsInformation != null)) {
             this.tableSubcontractorsInformation.InitVars();
         }
     }
     this.tableSubcontractorList = ((SubcontractorListDataTable)(base.Tables["SubcontractorList"]));
     if ((initTable == true)) {
         if ((this.tableSubcontractorList != null)) {
             this.tableSubcontractorList.InitVars();
         }
     }
     this.tableOriginalSubcontractor = ((OriginalSubcontractorDataTable)(base.Tables["OriginalSubcontractor"]));
     if ((initTable == true)) {
         if ((this.tableOriginalSubcontractor != null)) {
             this.tableOriginalSubcontractor.InitVars();
         }
     }
     this.tableRevenueInformation = ((RevenueInformationDataTable)(base.Tables["RevenueInformation"]));
     if ((initTable == true)) {
         if ((this.tableRevenueInformation != null)) {
             this.tableRevenueInformation.InitVars();
         }
     }
     this.tableOriginalRevenue = ((OriginalRevenueDataTable)(base.Tables["OriginalRevenue"]));
     if ((initTable == true)) {
         if ((this.tableOriginalRevenue != null)) {
             this.tableOriginalRevenue.InitVars();
         }
     }
     this.tableTemplateInformation = ((TemplateInformationDataTable)(base.Tables["TemplateInformation"]));
     if ((initTable == true)) {
         if ((this.tableTemplateInformation != null)) {
             this.tableTemplateInformation.InitVars();
         }
     }
     this.tableCombinedBasicInformation = ((CombinedBasicInformationDataTable)(base.Tables["CombinedBasicInformation"]));
     if ((initTable == true)) {
         if ((this.tableCombinedBasicInformation != null)) {
             this.tableCombinedBasicInformation.InitVars();
         }
     }
     this.tableCombinedLabourHoursInformation = ((CombinedLabourHoursInformationDataTable)(base.Tables["CombinedLabourHoursInformation"]));
     if ((initTable == true)) {
         if ((this.tableCombinedLabourHoursInformation != null)) {
             this.tableCombinedLabourHoursInformation.InitVars();
         }
     }
     this.tableCombinedUnitsInformation = ((CombinedUnitsInformationDataTable)(base.Tables["CombinedUnitsInformation"]));
     if ((initTable == true)) {
         if ((this.tableCombinedUnitsInformation != null)) {
             this.tableCombinedUnitsInformation.InitVars();
         }
     }
     this.tableCombinedMaterialsInformation = ((CombinedMaterialsInformationDataTable)(base.Tables["CombinedMaterialsInformation"]));
     if ((initTable == true)) {
         if ((this.tableCombinedMaterialsInformation != null)) {
             this.tableCombinedMaterialsInformation.InitVars();
         }
     }
     this.tableCombinedSubcontractorsInformation = ((CombinedSubcontractorsInformationDataTable)(base.Tables["CombinedSubcontractorsInformation"]));
     if ((initTable == true)) {
         if ((this.tableCombinedSubcontractorsInformation != null)) {
             this.tableCombinedSubcontractorsInformation.InitVars();
         }
     }
     this.tableCombinedRevenueInformation = ((CombinedRevenueInformationDataTable)(base.Tables["CombinedRevenueInformation"]));
     if ((initTable == true)) {
         if ((this.tableCombinedRevenueInformation != null)) {
             this.tableCombinedRevenueInformation.InitVars();
         }
     }
     this.tableCombinedOtherCostsInformation = ((CombinedOtherCostsInformationDataTable)(base.Tables["CombinedOtherCostsInformation"]));
     if ((initTable == true)) {
         if ((this.tableCombinedOtherCostsInformation != null)) {
             this.tableCombinedOtherCostsInformation.InitVars();
         }
     }
     this.tableHotelsInformation = ((HotelsInformationDataTable)(base.Tables["HotelsInformation"]));
     if ((initTable == true)) {
         if ((this.tableHotelsInformation != null)) {
             this.tableHotelsInformation.InitVars();
         }
     }
     this.tableBondingsInformation = ((BondingsInformationDataTable)(base.Tables["BondingsInformation"]));
     if ((initTable == true)) {
         if ((this.tableBondingsInformation != null)) {
             this.tableBondingsInformation.InitVars();
         }
     }
     this.tableInsurancesInformation = ((InsurancesInformationDataTable)(base.Tables["InsurancesInformation"]));
     if ((initTable == true)) {
         if ((this.tableInsurancesInformation != null)) {
             this.tableInsurancesInformation.InitVars();
         }
     }
     this.tableOtherCategoryInformation = ((OtherCategoryInformationDataTable)(base.Tables["OtherCategoryInformation"]));
     if ((initTable == true)) {
         if ((this.tableOtherCategoryInformation != null)) {
             this.tableOtherCategoryInformation.InitVars();
         }
     }
     this.tableHotelList = ((HotelListDataTable)(base.Tables["HotelList"]));
     if ((initTable == true)) {
         if ((this.tableHotelList != null)) {
             this.tableHotelList.InitVars();
         }
     }
     this.tableBondingList = ((BondingListDataTable)(base.Tables["BondingList"]));
     if ((initTable == true)) {
         if ((this.tableBondingList != null)) {
             this.tableBondingList.InitVars();
         }
     }
     this.tableInsuranceList = ((InsuranceListDataTable)(base.Tables["InsuranceList"]));
     if ((initTable == true)) {
         if ((this.tableInsuranceList != null)) {
             this.tableInsuranceList.InitVars();
         }
     }
     this.tableOtherCategoryList = ((OtherCategoryListDataTable)(base.Tables["OtherCategoryList"]));
     if ((initTable == true)) {
         if ((this.tableOtherCategoryList != null)) {
             this.tableOtherCategoryList.InitVars();
         }
     }
     this.tableOriginalHotel = ((OriginalHotelDataTable)(base.Tables["OriginalHotel"]));
     if ((initTable == true)) {
         if ((this.tableOriginalHotel != null)) {
             this.tableOriginalHotel.InitVars();
         }
     }
     this.tableOriginalBonding = ((OriginalBondingDataTable)(base.Tables["OriginalBonding"]));
     if ((initTable == true)) {
         if ((this.tableOriginalBonding != null)) {
             this.tableOriginalBonding.InitVars();
         }
     }
     this.tableOriginalInsurance = ((OriginalInsuranceDataTable)(base.Tables["OriginalInsurance"]));
     if ((initTable == true)) {
         if ((this.tableOriginalInsurance != null)) {
             this.tableOriginalInsurance.InitVars();
         }
     }
     this.tableOriginalOtherCategory = ((OriginalOtherCategoryDataTable)(base.Tables["OriginalOtherCategory"]));
     if ((initTable == true)) {
         if ((this.tableOriginalOtherCategory != null)) {
             this.tableOriginalOtherCategory.InitVars();
         }
     }
     this.tableProjectList = ((ProjectListDataTable)(base.Tables["ProjectList"]));
     if ((initTable == true)) {
         if ((this.tableProjectList != null)) {
             this.tableProjectList.InitVars();
         }
     }
     this.tableDummyInformation = ((DummyInformationDataTable)(base.Tables["DummyInformation"]));
     if ((initTable == true)) {
         if ((this.tableDummyInformation != null)) {
             this.tableDummyInformation.InitVars();
         }
     }
 }
 internal void InitVars(bool initTable) {
     this.tableBasicInformation = ((BasicInformationDataTable)(base.Tables["BasicInformation"]));
     if ((initTable == true)) {
         if ((this.tableBasicInformation != null)) {
             this.tableBasicInformation.InitVars();
         }
     }
     this.tableUnitsInformation = ((UnitsInformationDataTable)(base.Tables["UnitsInformation"]));
     if ((initTable == true)) {
         if ((this.tableUnitsInformation != null)) {
             this.tableUnitsInformation.InitVars();
         }
     }
     this.tableLabourHoursInformation = ((LabourHoursInformationDataTable)(base.Tables["LabourHoursInformation"]));
     if ((initTable == true)) {
         if ((this.tableLabourHoursInformation != null)) {
             this.tableLabourHoursInformation.InitVars();
         }
     }
     this.tableMaterialsInformation = ((MaterialsInformationDataTable)(base.Tables["MaterialsInformation"]));
     if ((initTable == true)) {
         if ((this.tableMaterialsInformation != null)) {
             this.tableMaterialsInformation.InitVars();
         }
     }
     this.tableEmployeeList = ((EmployeeListDataTable)(base.Tables["EmployeeList"]));
     if ((initTable == true)) {
         if ((this.tableEmployeeList != null)) {
             this.tableEmployeeList.InitVars();
         }
     }
     this.tableWorkList = ((WorkListDataTable)(base.Tables["WorkList"]));
     if ((initTable == true)) {
         if ((this.tableWorkList != null)) {
             this.tableWorkList.InitVars();
         }
     }
     this.tableOriginalLabourHour = ((OriginalLabourHourDataTable)(base.Tables["OriginalLabourHour"]));
     if ((initTable == true)) {
         if ((this.tableOriginalLabourHour != null)) {
             this.tableOriginalLabourHour.InitVars();
         }
     }
     this.tableOtherCostsInformation = ((OtherCostsInformationDataTable)(base.Tables["OtherCostsInformation"]));
     if ((initTable == true)) {
         if ((this.tableOtherCostsInformation != null)) {
             this.tableOtherCostsInformation.InitVars();
         }
     }
     this.tableUnitList = ((UnitListDataTable)(base.Tables["UnitList"]));
     if ((initTable == true)) {
         if ((this.tableUnitList != null)) {
             this.tableUnitList.InitVars();
         }
     }
     this.tableOriginalUnit = ((OriginalUnitDataTable)(base.Tables["OriginalUnit"]));
     if ((initTable == true)) {
         if ((this.tableOriginalUnit != null)) {
             this.tableOriginalUnit.InitVars();
         }
     }
     this.tableMaterialList = ((MaterialListDataTable)(base.Tables["MaterialList"]));
     if ((initTable == true)) {
         if ((this.tableMaterialList != null)) {
             this.tableMaterialList.InitVars();
         }
     }
     this.tableOriginalMaterial = ((OriginalMaterialDataTable)(base.Tables["OriginalMaterial"]));
     if ((initTable == true)) {
         if ((this.tableOriginalMaterial != null)) {
             this.tableOriginalMaterial.InitVars();
         }
     }
     this.tableEmployeePayPeriod = ((EmployeePayPeriodDataTable)(base.Tables["EmployeePayPeriod"]));
     if ((initTable == true)) {
         if ((this.tableEmployeePayPeriod != null)) {
             this.tableEmployeePayPeriod.InitVars();
         }
     }
     this.tableUnitPayPeriod = ((UnitPayPeriodDataTable)(base.Tables["UnitPayPeriod"]));
     if ((initTable == true)) {
         if ((this.tableUnitPayPeriod != null)) {
             this.tableUnitPayPeriod.InitVars();
         }
     }
     this.tableMaterialPayPeriod = ((MaterialPayPeriodDataTable)(base.Tables["MaterialPayPeriod"]));
     if ((initTable == true)) {
         if ((this.tableMaterialPayPeriod != null)) {
             this.tableMaterialPayPeriod.InitVars();
         }
     }
 }
 private void InitClass() {
     this.DataSetName = "ProjectCostingSheetAddTDS";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/ProjectCostingSheetAddTDS.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableBasicInformation = new BasicInformationDataTable();
     base.Tables.Add(this.tableBasicInformation);
     this.tableUnitsInformation = new UnitsInformationDataTable();
     base.Tables.Add(this.tableUnitsInformation);
     this.tableLabourHoursInformation = new LabourHoursInformationDataTable();
     base.Tables.Add(this.tableLabourHoursInformation);
     this.tableMaterialsInformation = new MaterialsInformationDataTable();
     base.Tables.Add(this.tableMaterialsInformation);
     this.tableEmployeeList = new EmployeeListDataTable();
     base.Tables.Add(this.tableEmployeeList);
     this.tableOriginalLabourHour = new OriginalLabourHourDataTable();
     base.Tables.Add(this.tableOriginalLabourHour);
     this.tableOtherCostsInformation = new OtherCostsInformationDataTable();
     base.Tables.Add(this.tableOtherCostsInformation);
     this.tableUnitList = new UnitListDataTable();
     base.Tables.Add(this.tableUnitList);
     this.tableOriginalUnit = new OriginalUnitDataTable();
     base.Tables.Add(this.tableOriginalUnit);
     this.tableMaterialList = new MaterialListDataTable();
     base.Tables.Add(this.tableMaterialList);
     this.tableOriginalMaterial = new OriginalMaterialDataTable();
     base.Tables.Add(this.tableOriginalMaterial);
     this.tableEmployeePayPeriod = new EmployeePayPeriodDataTable();
     base.Tables.Add(this.tableEmployeePayPeriod);
     this.tableUnitPayPeriod = new UnitPayPeriodDataTable();
     base.Tables.Add(this.tableUnitPayPeriod);
     this.tableMaterialPayPeriod = new MaterialPayPeriodDataTable();
     base.Tables.Add(this.tableMaterialPayPeriod);
     this.tableFunctionList = new FunctionListDataTable();
     base.Tables.Add(this.tableFunctionList);
     this.tableSubcontractorsInformation = new SubcontractorsInformationDataTable();
     base.Tables.Add(this.tableSubcontractorsInformation);
     this.tableSubcontractorList = new SubcontractorListDataTable();
     base.Tables.Add(this.tableSubcontractorList);
     this.tableOriginalSubcontractor = new OriginalSubcontractorDataTable();
     base.Tables.Add(this.tableOriginalSubcontractor);
     this.tableRevenueInformation = new RevenueInformationDataTable();
     base.Tables.Add(this.tableRevenueInformation);
     this.tableOriginalRevenue = new OriginalRevenueDataTable();
     base.Tables.Add(this.tableOriginalRevenue);
     this.tableTemplateInformation = new TemplateInformationDataTable();
     base.Tables.Add(this.tableTemplateInformation);
     this.tableCombinedBasicInformation = new CombinedBasicInformationDataTable();
     base.Tables.Add(this.tableCombinedBasicInformation);
     this.tableCombinedLabourHoursInformation = new CombinedLabourHoursInformationDataTable();
     base.Tables.Add(this.tableCombinedLabourHoursInformation);
     this.tableCombinedUnitsInformation = new CombinedUnitsInformationDataTable();
     base.Tables.Add(this.tableCombinedUnitsInformation);
     this.tableCombinedMaterialsInformation = new CombinedMaterialsInformationDataTable();
     base.Tables.Add(this.tableCombinedMaterialsInformation);
     this.tableCombinedSubcontractorsInformation = new CombinedSubcontractorsInformationDataTable();
     base.Tables.Add(this.tableCombinedSubcontractorsInformation);
     this.tableCombinedRevenueInformation = new CombinedRevenueInformationDataTable();
     base.Tables.Add(this.tableCombinedRevenueInformation);
     this.tableCombinedOtherCostsInformation = new CombinedOtherCostsInformationDataTable();
     base.Tables.Add(this.tableCombinedOtherCostsInformation);
     this.tableHotelsInformation = new HotelsInformationDataTable();
     base.Tables.Add(this.tableHotelsInformation);
     this.tableBondingsInformation = new BondingsInformationDataTable();
     base.Tables.Add(this.tableBondingsInformation);
     this.tableInsurancesInformation = new InsurancesInformationDataTable();
     base.Tables.Add(this.tableInsurancesInformation);
     this.tableOtherCategoryInformation = new OtherCategoryInformationDataTable();
     base.Tables.Add(this.tableOtherCategoryInformation);
     this.tableHotelList = new HotelListDataTable();
     base.Tables.Add(this.tableHotelList);
     this.tableBondingList = new BondingListDataTable();
     base.Tables.Add(this.tableBondingList);
     this.tableInsuranceList = new InsuranceListDataTable();
     base.Tables.Add(this.tableInsuranceList);
     this.tableOtherCategoryList = new OtherCategoryListDataTable();
     base.Tables.Add(this.tableOtherCategoryList);
     this.tableOriginalHotel = new OriginalHotelDataTable();
     base.Tables.Add(this.tableOriginalHotel);
     this.tableOriginalBonding = new OriginalBondingDataTable();
     base.Tables.Add(this.tableOriginalBonding);
     this.tableOriginalInsurance = new OriginalInsuranceDataTable();
     base.Tables.Add(this.tableOriginalInsurance);
     this.tableOriginalOtherCategory = new OriginalOtherCategoryDataTable();
     base.Tables.Add(this.tableOriginalOtherCategory);
     this.tableProjectList = new ProjectListDataTable();
     base.Tables.Add(this.tableProjectList);
     this.tableDummyInformation = new DummyInformationDataTable();
     base.Tables.Add(this.tableDummyInformation);
 }