Ejemplo n.º 1
0
 /// <summary>
 /// Create a new Game object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="since">Initial value of the Since property.</param>
 public static Game CreateGame(global::System.Int32 id, global::System.DateTime since)
 {
     Game game = new Game();
     game.Id = id;
     game.Since = since;
     return game;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Games EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGames(Game game)
 {
     base.AddObject("Games", game);
 }