/// <summary> /// Deprecated Method for adding a new object to the tblInvoiceDetails EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblInvoiceDetails(tblInvoiceDetail tblInvoiceDetail) { base.AddObject("tblInvoiceDetails", tblInvoiceDetail); }
/// <summary> /// Create a new tblInvoiceDetail object. /// </summary> /// <param name="idInvoiceDetail">Initial value of the idInvoiceDetail property.</param> /// <param name="idInvoiceMaster">Initial value of the idInvoiceMaster property.</param> /// <param name="idChargeCode">Initial value of the idChargeCode 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 tblInvoiceDetail CreatetblInvoiceDetail(global::System.Int32 idInvoiceDetail, global::System.Int32 idInvoiceMaster, global::System.Int32 idChargeCode, global::System.DateTime dateCreated, global::System.DateTime dateModified, global::System.String createdByLogin, global::System.String modifiedByLogin) { tblInvoiceDetail tblInvoiceDetail = new tblInvoiceDetail(); tblInvoiceDetail.idInvoiceDetail = idInvoiceDetail; tblInvoiceDetail.idInvoiceMaster = idInvoiceMaster; tblInvoiceDetail.idChargeCode = idChargeCode; tblInvoiceDetail.dateCreated = dateCreated; tblInvoiceDetail.dateModified = dateModified; tblInvoiceDetail.CreatedByLogin = createdByLogin; tblInvoiceDetail.ModifiedByLogin = modifiedByLogin; return tblInvoiceDetail; }