/// <summary> /// Deprecated Method for adding a new object to the GiftCategories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToGiftCategories(GiftCategories giftCategories) { base.AddObject("GiftCategories", giftCategories); }
/// <summary> /// Create a new GiftCategories object. /// </summary> /// <param name="gc_id">Initial value of the gc_id property.</param> /// <param name="gc_active">Initial value of the gc_active property.</param> public static GiftCategories CreateGiftCategories(global::System.Int32 gc_id, global::System.Boolean gc_active) { GiftCategories giftCategories = new GiftCategories(); giftCategories.gc_id = gc_id; giftCategories.gc_active = gc_active; return giftCategories; }