示例#1
0
        /// <summary>
        /// Create a new player_stats object.
        /// </summary>
        /// <param name="retro_id">Initial value of the retro_id property.</param>
        /// <param name="season">Initial value of the season property.</param>
        /// <param name="vs_pitcher_side">Initial value of the vs_pitcher_side property.</param>
        public static player_stats Createplayer_stats(global::System.String retro_id, global::System.Int32 season, global::System.String vs_pitcher_side)
        {
            player_stats player_stats = new player_stats();

            player_stats.retro_id        = retro_id;
            player_stats.season          = season;
            player_stats.vs_pitcher_side = vs_pitcher_side;
            return(player_stats);
        }
示例#2
0
 /// <summary>
 /// Create a new player_stats object.
 /// </summary>
 /// <param name="player_id">Initial value of the player_id property.</param>
 /// <param name="bat_side">Initial value of the bat_side property.</param>
 /// <param name="count_balls">Initial value of the count_balls property.</param>
 /// <param name="count_strikes">Initial value of the count_strikes property.</param>
 /// <param name="pitch_type">Initial value of the pitch_type property.</param>
 public static player_stats Createplayer_stats(global::System.Int32 player_id, global::System.String bat_side, global::System.Int32 count_balls, global::System.Int32 count_strikes, global::System.String pitch_type)
 {
     player_stats player_stats = new player_stats();
     player_stats.player_id = player_id;
     player_stats.bat_side = bat_side;
     player_stats.count_balls = count_balls;
     player_stats.count_strikes = count_strikes;
     player_stats.pitch_type = pitch_type;
     return player_stats;
 }
示例#3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the player_stats EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToplayer_stats(player_stats player_stats)
 {
     base.AddObject("player_stats", player_stats);
 }
示例#4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the player_stats EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToplayer_stats(player_stats player_stats)
 {
     base.AddObject("player_stats", player_stats);
 }
示例#5
0
 /// <summary>
 /// Create a new player_stats object.
 /// </summary>
 /// <param name="retro_id">Initial value of the retro_id property.</param>
 /// <param name="season">Initial value of the season property.</param>
 /// <param name="vs_pitcher_side">Initial value of the vs_pitcher_side property.</param>
 public static player_stats Createplayer_stats(global::System.String retro_id, global::System.Int32 season, global::System.String vs_pitcher_side)
 {
     player_stats player_stats = new player_stats();
     player_stats.retro_id = retro_id;
     player_stats.season = season;
     player_stats.vs_pitcher_side = vs_pitcher_side;
     return player_stats;
 }