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