/// <summary> /// Create a new Game object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the name property.</param> /// <param name="autostart">Initial value of the autostart property.</param> /// <param name="guid">Initial value of the guid property.</param> /// <param name="assembly">Initial value of the assembly property.</param> /// <param name="class">Initial value of the class property.</param> public static Game CreateGame(global::System.Int32 id, global::System.String name, global::System.Boolean autostart, global::System.Guid guid, global::System.String assembly, global::System.String @class) { Game game = new Game(); game.Id = id; game.name = name; game.autostart = autostart; game.guid = guid; game.assembly = assembly; game.@class = @class; return game; }
/// <summary> /// Deprecated Method for adding a new object to the Games EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToGames(Game game) { base.AddObject("Games", game); }