Esempio n. 1
0
 /// <summary>
 /// 创建新的 View_Payment 对象。
 /// </summary>
 /// <param name="accountID">AccountID 属性的初始值。</param>
 /// <param name="payAmount">PayAmount 属性的初始值。</param>
 /// <param name="remarkID">RemarkID 属性的初始值。</param>
 /// <param name="chargeItem">ChargeItem 属性的初始值。</param>
 /// <param name="merchantName">MerchantName 属性的初始值。</param>
 /// <param name="accountNumber">AccountNumber 属性的初始值。</param>
 /// <param name="createdDate">CreatedDate 属性的初始值。</param>
 public static View_Payment CreateView_Payment(global::System.Guid accountID, global::System.Decimal payAmount, global::System.Guid remarkID, global::System.String chargeItem, global::System.String merchantName, global::System.String accountNumber, global::System.DateTime createdDate)
 {
     View_Payment view_Payment = new View_Payment();
     view_Payment.AccountID = accountID;
     view_Payment.PayAmount = payAmount;
     view_Payment.RemarkID = remarkID;
     view_Payment.ChargeItem = chargeItem;
     view_Payment.MerchantName = merchantName;
     view_Payment.AccountNumber = accountNumber;
     view_Payment.CreatedDate = createdDate;
     return view_Payment;
 }
Esempio n. 2
0
 /// <summary>
 /// 用于向 View_Payment EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToView_Payment(View_Payment view_Payment)
 {
     base.AddObject("View_Payment", view_Payment);
 }