/// <summary>
 /// Создание нового объекта PaymentType.
 /// </summary>
 /// <param name="id">Исходное значение свойства Id.</param>
 /// <param name="name">Исходное значение свойства Name.</param>
 /// <param name="bankFee">Исходное значение свойства BankFee.</param>
 /// <param name="feePercent">Исходное значение свойства FeePercent.</param>
 public static PaymentType CreatePaymentType(global::System.Int32 id, global::System.String name, global::System.Double bankFee, global::System.Double feePercent)
 {
     PaymentType paymentType = new PaymentType();
     paymentType.Id = id;
     paymentType.Name = name;
     paymentType.BankFee = bankFee;
     paymentType.FeePercent = feePercent;
     return paymentType;
 }
 /// <summary>
 /// Устаревший метод для добавления новых объектов в набор EntitySet payment_type. Взамен можно использовать метод .Add связанного свойства ObjectSet&lt;T&gt;.
 /// </summary>
 public void AddTopayment_type(PaymentType paymentType)
 {
     base.AddObject("payment_type", paymentType);
 }
예제 #3
0
 partial void DeletePaymentType(PaymentType instance);
예제 #4
0
 partial void UpdatePaymentType(PaymentType instance);
예제 #5
0
 partial void InsertPaymentType(PaymentType instance);
예제 #6
0
 /// <summary>
 /// Create a new PaymentType object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 public static PaymentType CreatePaymentType(global::System.Int32 id)
 {
     PaymentType paymentType = new PaymentType();
     paymentType.ID = id;
     return paymentType;
 }
예제 #7
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PaymentTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPaymentTypes(PaymentType paymentType)
 {
     base.AddObject("PaymentTypes", paymentType);
 }