/// <summary> /// 建立新 vwUserMenuAllow 物件。 /// </summary> /// <param name="groupID">GroupID 屬性的初始值。</param> /// <param name="menuID">MenuID 屬性的初始值。</param> /// <param name="isAllow">IsAllow 屬性的初始值。</param> /// <param name="menuName">MenuName 屬性的初始值。</param> /// <param name="menuGroupID">MenuGroupID 屬性的初始值。</param> /// <param name="xAML">XAML 屬性的初始值。</param> /// <param name="groupName">GroupName 屬性的初始值。</param> /// <param name="userID">UserID 屬性的初始值。</param> public static vwUserMenuAllow CreatevwUserMenuAllow(global::System.Int32 groupID, global::System.Int32 menuID, global::System.Boolean isAllow, global::System.String menuName, global::System.Int32 menuGroupID, global::System.String xAML, global::System.String groupName, global::System.String userID) { vwUserMenuAllow vwUserMenuAllow = new vwUserMenuAllow(); vwUserMenuAllow.GroupID = groupID; vwUserMenuAllow.MenuID = menuID; vwUserMenuAllow.IsAllow = isAllow; vwUserMenuAllow.MenuName = menuName; vwUserMenuAllow.MenuGroupID = menuGroupID; vwUserMenuAllow.XAML = xAML; vwUserMenuAllow.GroupName = groupName; vwUserMenuAllow.UserID = userID; return vwUserMenuAllow; }
/// <summary> /// 將新物件加入 vwUserMenuAllow EntitySet 的方法已被取代。請考慮改為使用關聯的 ObjectSet<T> 屬性的 .Add 方法。 /// </summary> public void AddTovwUserMenuAllow(vwUserMenuAllow vwUserMenuAllow) { base.AddObject("vwUserMenuAllow", vwUserMenuAllow); }