/// <summary> /// 创建新的 MerchantClub 对象。 /// </summary> /// <param name="id">Id 属性的初始值。</param> /// <param name="orders">Orders 属性的初始值。</param> /// <param name="status">Status 属性的初始值。</param> /// <param name="addTime">AddTime 属性的初始值。</param> /// <param name="updateTime">UpdateTime 属性的初始值。</param> /// <param name="merChantName">MerChantName 属性的初始值。</param> /// <param name="merChantId">MerChantId 属性的初始值。</param> public static MerchantClub CreateMerchantClub(global::System.Int32 id, global::System.Int32 orders, global::System.Int32 status, global::System.DateTime addTime, global::System.DateTime updateTime, global::System.String merChantName, global::System.Int32 merChantId) { MerchantClub merchantClub = new MerchantClub(); merchantClub.Id = id; merchantClub.Orders = orders; merchantClub.Status = status; merchantClub.AddTime = addTime; merchantClub.UpdateTime = updateTime; merchantClub.MerChantName = merChantName; merchantClub.MerChantId = merChantId; return(merchantClub); }
/// <summary> /// 用于向 MerchantClub EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToMerchantClub(MerchantClub merchantClub) { base.AddObject("MerchantClub", merchantClub); }