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