/// <summary> /// Create a new tblChargeCodeHist object. /// </summary> /// <param name="idChargeCodeHist">Initial value of the idChargeCodeHist property.</param> /// <param name="idChargeCode">Initial value of the idChargeCode property.</param> /// <param name="idChargeCodeType">Initial value of the idChargeCodeType property.</param> /// <param name="nameChargeCode">Initial value of the nameChargeCode property.</param> /// <param name="price">Initial value of the Price property.</param> /// <param name="dateCreated">Initial value of the dateCreated property.</param> /// <param name="dateModified">Initial value of the dateModified property.</param> /// <param name="createdByLogin">Initial value of the CreatedByLogin property.</param> /// <param name="modifiedByLogin">Initial value of the ModifiedByLogin property.</param> public static tblChargeCodeHist CreatetblChargeCodeHist(global::System.Int32 idChargeCodeHist, global::System.Int32 idChargeCode, global::System.Int32 idChargeCodeType, global::System.String nameChargeCode, global::System.Decimal price, global::System.DateTime dateCreated, global::System.DateTime dateModified, global::System.String createdByLogin, global::System.String modifiedByLogin) { tblChargeCodeHist tblChargeCodeHist = new tblChargeCodeHist(); tblChargeCodeHist.idChargeCodeHist = idChargeCodeHist; tblChargeCodeHist.idChargeCode = idChargeCode; tblChargeCodeHist.idChargeCodeType = idChargeCodeType; tblChargeCodeHist.nameChargeCode = nameChargeCode; tblChargeCodeHist.Price = price; tblChargeCodeHist.dateCreated = dateCreated; tblChargeCodeHist.dateModified = dateModified; tblChargeCodeHist.CreatedByLogin = createdByLogin; tblChargeCodeHist.ModifiedByLogin = modifiedByLogin; return tblChargeCodeHist; }
/// <summary> /// Deprecated Method for adding a new object to the tblChargeCodeHists EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblChargeCodeHists(tblChargeCodeHist tblChargeCodeHist) { base.AddObject("tblChargeCodeHists", tblChargeCodeHist); }