コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PayInSlips EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPayInSlips(PayInSlip payInSlip)
 {
     base.AddObject("PayInSlips", payInSlip);
 }
コード例 #2
0
 /// <summary>
 /// Create a new PayInSlip object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="issuedDate">Initial value of the IssuedDate property.</param>
 /// <param name="issuedBy">Initial value of the IssuedBy property.</param>
 /// <param name="slipPdf">Initial value of the SlipPdf property.</param>
 /// <param name="paymentId">Initial value of the PaymentId property.</param>
 /// <param name="documentNumber">Initial value of the DocumentNumber property.</param>
 public static PayInSlip CreatePayInSlip(global::System.Int32 id, global::System.DateTime issuedDate, global::System.String issuedBy, global::System.Byte[] slipPdf, global::System.Int64 paymentId, global::System.String documentNumber)
 {
     PayInSlip payInSlip = new PayInSlip();
     payInSlip.Id = id;
     payInSlip.IssuedDate = issuedDate;
     payInSlip.IssuedBy = issuedBy;
     payInSlip.SlipPdf = slipPdf;
     payInSlip.PaymentId = paymentId;
     payInSlip.DocumentNumber = documentNumber;
     return payInSlip;
 }