예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TypePayments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTypePayments(TypePayment typePayment)
 {
     base.AddObject("TypePayments", typePayment);
 }
예제 #2
0
 /// <summary>
 /// Create a new TypePayment object.
 /// </summary>
 /// <param name="typePaymentID">Initial value of the TypePaymentID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 /// <param name="link">Initial value of the Link property.</param>
 /// <param name="images">Initial value of the Images property.</param>
 /// <param name="payType">Initial value of the PayType property.</param>
 /// <param name="payInfo">Initial value of the PayInfo property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 public static TypePayment CreateTypePayment(global::System.Int32 typePaymentID, global::System.String name, global::System.String description, global::System.String link, global::System.String images, global::System.Int32 payType, global::System.String payInfo, global::System.Int32 status)
 {
     TypePayment typePayment = new TypePayment();
     typePayment.TypePaymentID = typePaymentID;
     typePayment.Name = name;
     typePayment.Description = description;
     typePayment.Link = link;
     typePayment.Images = images;
     typePayment.PayType = payType;
     typePayment.PayInfo = payInfo;
     typePayment.Status = status;
     return typePayment;
 }