示例#1
0
 /// <summary>
 /// 创建新的 ViewMerchantChargeItem 对象。
 /// </summary>
 /// <param name="chargeItemID">ChargeItemID 属性的初始值。</param>
 /// <param name="merchantVSChargeItemID">MerchantVSChargeItemID 属性的初始值。</param>
 /// <param name="chargeItem">ChargeItem 属性的初始值。</param>
 /// <param name="merchantID">MerchantID 属性的初始值。</param>
 /// <param name="merchantName">MerchantName 属性的初始值。</param>
 /// <param name="userID">UserID 属性的初始值。</param>
 /// <param name="isDeleted">IsDeleted 属性的初始值。</param>
 public static ViewMerchantChargeItem CreateViewMerchantChargeItem(global::System.Guid chargeItemID, global::System.Guid merchantVSChargeItemID, global::System.String chargeItem, global::System.Guid merchantID, global::System.String merchantName, global::System.Guid userID, global::System.Boolean isDeleted)
 {
     ViewMerchantChargeItem viewMerchantChargeItem = new ViewMerchantChargeItem();
     viewMerchantChargeItem.ChargeItemID = chargeItemID;
     viewMerchantChargeItem.MerchantVSChargeItemID = merchantVSChargeItemID;
     viewMerchantChargeItem.ChargeItem = chargeItem;
     viewMerchantChargeItem.MerchantID = merchantID;
     viewMerchantChargeItem.MerchantName = merchantName;
     viewMerchantChargeItem.UserID = userID;
     viewMerchantChargeItem.IsDeleted = isDeleted;
     return viewMerchantChargeItem;
 }
示例#2
0
 /// <summary>
 /// 用于向 ViewMerchantChargeItem EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToViewMerchantChargeItem(ViewMerchantChargeItem viewMerchantChargeItem)
 {
     base.AddObject("ViewMerchantChargeItem", viewMerchantChargeItem);
 }