/// <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(GiftTypes giftTypes) { base.AddObject("GiftTypes", giftTypes); }
/// <summary> /// Create a new GiftTypes object. /// </summary> /// <param name="gt_id">Initial value of the gt_id property.</param> /// <param name="gt_name">Initial value of the gt_name property.</param> /// <param name="gt_phrase">Initial value of the gt_phrase property.</param> /// <param name="gt_type">Initial value of the gt_type property.</param> /// <param name="gt_active">Initial value of the gt_active property.</param> public static GiftTypes CreateGiftTypes(global::System.Int32 gt_id, global::System.String gt_name, global::System.String gt_phrase, global::System.Int32 gt_type, global::System.Boolean gt_active) { GiftTypes giftTypes = new GiftTypes(); giftTypes.gt_id = gt_id; giftTypes.gt_name = gt_name; giftTypes.gt_phrase = gt_phrase; giftTypes.gt_type = gt_type; giftTypes.gt_active = gt_active; return giftTypes; }