/// <summary> /// Create a new Player object. /// </summary> /// <param name="playerId">Initial value of the PlayerId property.</param> /// <param name="playerName">Initial value of the PlayerName property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> public static Player CreatePlayer(global::System.Int32 playerId, global::System.String playerName, global::System.DateTime createdDate) { Player player = new Player(); player.PlayerId = playerId; player.PlayerName = playerName; player.CreatedDate = createdDate; return player; }
/// <summary> /// Deprecated Method for adding a new object to the Players EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPlayers(Player player) { base.AddObject("Players", player); }