Beispiel #1
0
        /// <summary>
        /// Create a new MenuTile object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="tileColor">Initial value of the TileColor property.</param>
        /// <param name="type">Initial value of the Type property.</param>
        /// <param name="name">Initial value of the Name property.</param>
        /// <param name="size">Initial value of the Size property.</param>
        /// <param name="menuTile_Menu">Initial value of the MenuTile_Menu property.</param>
        /// <param name="rowVersion">Initial value of the RowVersion property.</param>
        public static MenuTile CreateMenuTile(global::System.Int32 id, global::System.String tileColor, global::System.String type, global::System.String name, global::System.String size, global::System.Int32 menuTile_Menu, global::System.Byte[] rowVersion)
        {
            MenuTile menuTile = new MenuTile();

            menuTile.Id            = id;
            menuTile.TileColor     = tileColor;
            menuTile.Type          = type;
            menuTile.Name          = name;
            menuTile.Size          = size;
            menuTile.MenuTile_Menu = menuTile_Menu;
            menuTile.RowVersion    = rowVersion;
            return(menuTile);
        }
 /// <summary>
 /// Deprecated Method for adding a new object to the MenuTiles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMenuTiles(MenuTile menuTile)
 {
     base.AddObject("MenuTiles", menuTile);
 }
Beispiel #3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the MenuTiles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMenuTiles(MenuTile menuTile)
 {
     base.AddObject("MenuTiles", menuTile);
 }
 /// <summary>
 /// Create a new MenuTile object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="tileColor">Initial value of the TileColor property.</param>
 /// <param name="type">Initial value of the Type property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="size">Initial value of the Size property.</param>
 /// <param name="menuTile_Menu">Initial value of the MenuTile_Menu property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static MenuTile CreateMenuTile(global::System.Int32 id, global::System.String tileColor, global::System.String type, global::System.String name, global::System.String size, global::System.Int32 menuTile_Menu, global::System.Byte[] rowVersion)
 {
     MenuTile menuTile = new MenuTile();
     menuTile.Id = id;
     menuTile.TileColor = tileColor;
     menuTile.Type = type;
     menuTile.Name = name;
     menuTile.Size = size;
     menuTile.MenuTile_Menu = menuTile_Menu;
     menuTile.RowVersion = rowVersion;
     return menuTile;
 }