/// <summary> /// Deprecated Method for adding a new object to the tbl_PaymentType EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotbl_PaymentType(tbl_PaymentType tbl_PaymentType) { base.AddObject("tbl_PaymentType", tbl_PaymentType); }
/// <summary> /// Create a new tbl_PaymentType object. /// </summary> /// <param name="paymentTypeID">Initial value of the PaymentTypeID property.</param> /// <param name="pT_Code">Initial value of the PT_Code property.</param> /// <param name="pT_Name">Initial value of the PT_Name property.</param> public static tbl_PaymentType Createtbl_PaymentType(global::System.Int32 paymentTypeID, global::System.String pT_Code, global::System.String pT_Name) { tbl_PaymentType tbl_PaymentType = new tbl_PaymentType(); tbl_PaymentType.PaymentTypeID = paymentTypeID; tbl_PaymentType.PT_Code = pT_Code; tbl_PaymentType.PT_Name = pT_Name; return tbl_PaymentType; }