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

            raceResult.Id = id;

            raceResult.Position = position;

            raceResult.TeamId = teamId;

            return(raceResult);
        }
Example #2
0
 /// <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);
 }
Example #3
0
 private void detach_RaceResults(RaceResult entity)
 {
     this.SendPropertyChanging();
     entity.Racer = null;
 }
Example #4
0
 private void attach_RaceResults(RaceResult entity)
 {
     this.SendPropertyChanging();
     entity.Racer = this;
 }
Example #5
0
 partial void DeleteRaceResult(RaceResult instance);
Example #6
0
 partial void UpdateRaceResult(RaceResult instance);
Example #7
0
 partial void InsertRaceResult(RaceResult instance);