/// <summary>
        /// Create a new RaceResult object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="raceId">Initial value of the RaceId property.</param>
        /// <param name="racerId">Initial value of the RacerId property.</param>
        /// <param name="teamId">Initial value of the TeamId property.</param>
        /// <param name="position">Initial value of the Position property.</param>
        public static RaceResult CreateRaceResult(global::System.Int32 id, global::System.Int32 raceId, global::System.Int32 racerId, global::System.Int32 teamId, global::System.Int32 position)
        {
            RaceResult raceResult = new RaceResult();

            raceResult.Id       = id;
            raceResult.RaceId   = raceId;
            raceResult.RacerId  = racerId;
            raceResult.TeamId   = teamId;
            raceResult.Position = position;
            return(raceResult);
        }
 /// <summary>
 /// Deprecated Method for adding a new object to the RaceResults EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRaceResults(RaceResult raceResult)
 {
     base.AddObject("RaceResults", raceResult);
 }