コード例 #1
0
        /// <summary>
        /// Create a new TMSMenu object.
        /// </summary>
        /// <param name="menuID">Initial value of the MenuID property.</param>
        public static TMSMenu CreateTMSMenu(global::System.Int32 menuID)
        {
            TMSMenu tMSMenu = new TMSMenu();

            tMSMenu.MenuID = menuID;
            return(tMSMenu);
        }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TMSMenus EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTMSMenus(TMSMenu tMSMenu)
 {
     base.AddObject("TMSMenus", tMSMenu);
 }