/// <summary> /// Create a new tblBillMtr object. /// </summary> /// <param name="billMtrID">Initial value of the BillMtrID property.</param> /// <param name="mtrCost">Initial value of the MtrCost property.</param> /// <param name="mtrStartDate">Initial value of the MtrStartDate property.</param> /// <param name="mtrEndDate">Initial value of the MtrEndDate property.</param> /// <param name="reportYear">Initial value of the ReportYear property.</param> /// <param name="reportMonth">Initial value of the ReportMonth property.</param> /// <param name="mtrEstTF">Initial value of the MtrEstTF property.</param> /// <param name="mtrQuesTF">Initial value of the MtrQuesTF property.</param> /// <param name="cAPRules">Initial value of the CAPRules property.</param> /// <param name="billUMTypeID">Initial value of the BillUMTypeID property.</param> /// <param name="billSumID">Initial value of the BillSumID property.</param> /// <param name="meterInfoID">Initial value of the MeterInfoID property.</param> /// <param name="averageUnitCost">Initial value of the AverageUnitCost property.</param> /// <param name="reviewedTF">Initial value of the ReviewedTF property.</param> /// <param name="cAPBaseRules">Initial value of the CAPBaseRules property.</param> /// <param name="cAPHDD">Initial value of the CAPHDD property.</param> /// <param name="cAPCDD">Initial value of the CAPCDD property.</param> public static tblBillMtr CreatetblBillMtr(global::System.Int32 billMtrID, global::System.Decimal mtrCost, global::System.DateTime mtrStartDate, global::System.DateTime mtrEndDate, global::System.Int16 reportYear, global::System.Byte reportMonth, global::System.Byte mtrEstTF, global::System.Byte mtrQuesTF, global::System.Int32 cAPRules, global::System.Int32 billUMTypeID, global::System.Int32 billSumID, global::System.Int32 meterInfoID, global::System.Decimal averageUnitCost, global::System.Byte reviewedTF, global::System.Int32 cAPBaseRules, global::System.Int32 cAPHDD, global::System.Int32 cAPCDD) { tblBillMtr tblBillMtr = new tblBillMtr(); tblBillMtr.BillMtrID = billMtrID; tblBillMtr.MtrCost = mtrCost; tblBillMtr.MtrStartDate = mtrStartDate; tblBillMtr.MtrEndDate = mtrEndDate; tblBillMtr.ReportYear = reportYear; tblBillMtr.ReportMonth = reportMonth; tblBillMtr.MtrEstTF = mtrEstTF; tblBillMtr.MtrQuesTF = mtrQuesTF; tblBillMtr.CAPRules = cAPRules; tblBillMtr.BillUMTypeID = billUMTypeID; tblBillMtr.BillSumID = billSumID; tblBillMtr.MeterInfoID = meterInfoID; tblBillMtr.AverageUnitCost = averageUnitCost; tblBillMtr.ReviewedTF = reviewedTF; tblBillMtr.CAPBaseRules = cAPBaseRules; tblBillMtr.CAPHDD = cAPHDD; tblBillMtr.CAPCDD = cAPCDD; return tblBillMtr; }
/// <summary> /// Deprecated Method for adding a new object to the tblBillMtrs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblBillMtrs(tblBillMtr tblBillMtr) { base.AddObject("tblBillMtrs", tblBillMtr); }