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