/// <summary> /// Deprecated Method for adding a new object to the Gifts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToGifts(Gift gift) { base.AddObject("Gifts", gift); }
/// <summary> /// Create a new Gift object. /// </summary> /// <param name="id">Initial value of the Id property.</param> public static Gift CreateGift(global::System.Int32 id) { Gift gift = new Gift(); gift.Id = id; return gift; }