Ejemplo n.º 1
0
 /// <summary>
 /// 创建新的 ViewUserMerchantInfo 对象。
 /// </summary>
 /// <param name="merchantID">MerchantID 属性的初始值。</param>
 /// <param name="payAmount">PayAmount 属性的初始值。</param>
 /// <param name="accountID">AccountID 属性的初始值。</param>
 /// <param name="createdDate">CreatedDate 属性的初始值。</param>
 /// <param name="merchantVSChargeItemID">MerchantVSChargeItemID 属性的初始值。</param>
 public static ViewUserMerchantInfo CreateViewUserMerchantInfo(global::System.Guid merchantID, global::System.Decimal payAmount, global::System.Guid accountID, global::System.DateTime createdDate, global::System.Guid merchantVSChargeItemID)
 {
     ViewUserMerchantInfo viewUserMerchantInfo = new ViewUserMerchantInfo();
     viewUserMerchantInfo.MerchantID = merchantID;
     viewUserMerchantInfo.PayAmount = payAmount;
     viewUserMerchantInfo.AccountID = accountID;
     viewUserMerchantInfo.CreatedDate = createdDate;
     viewUserMerchantInfo.MerchantVSChargeItemID = merchantVSChargeItemID;
     return viewUserMerchantInfo;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 用于向 ViewUserMerchantInfo EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToViewUserMerchantInfo(ViewUserMerchantInfo viewUserMerchantInfo)
 {
     base.AddObject("ViewUserMerchantInfo", viewUserMerchantInfo);
 }