/// <summary> /// 用于向 ExchangGifts EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToExchangGifts(ExchangGifts exchangGifts) { base.AddObject("ExchangGifts", exchangGifts); }
/// <summary> /// 创建新的 ExchangGifts 对象。 /// </summary> /// <param name="eG_ID">EG_ID 属性的初始值。</param> public static ExchangGifts CreateExchangGifts(global::System.Int32 eG_ID) { ExchangGifts exchangGifts = new ExchangGifts(); exchangGifts.EG_ID = eG_ID; return exchangGifts; }