/// <summary> /// 建立新 vwUserGroupMenuAllow 物件。 /// </summary> /// <param name="groupID">GroupID 屬性的初始值。</param> /// <param name="menuID">MenuID 屬性的初始值。</param> public static vwUserGroupMenuAllow CreatevwUserGroupMenuAllow(global::System.Int32 groupID, global::System.Int32 menuID) { vwUserGroupMenuAllow vwUserGroupMenuAllow = new vwUserGroupMenuAllow(); vwUserGroupMenuAllow.GroupID = groupID; vwUserGroupMenuAllow.MenuID = menuID; return vwUserGroupMenuAllow; }
/// <summary> /// 將新物件加入 vwUserGroupMenuAllow EntitySet 的方法已被取代。請考慮改為使用關聯的 ObjectSet<T> 屬性的 .Add 方法。 /// </summary> public void AddTovwUserGroupMenuAllow(vwUserGroupMenuAllow vwUserGroupMenuAllow) { base.AddObject("vwUserGroupMenuAllow", vwUserGroupMenuAllow); }