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