Пример #1
0
 /// <summary>
 /// Create a new Racer object.
 /// </summary>
 /// <param name="racerId">Initial value of the RacerId property.</param>
 /// <param name="startSlot">Initial value of the StartSlot property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="organization">Initial value of the Organization property.</param>
 public static Racer CreateRacer(global::System.Int32 racerId, global::System.Int32 startSlot, global::System.String name, global::System.String organization)
 {
     Racer racer = new Racer();
     racer.RacerId = racerId;
     racer.StartSlot = startSlot;
     racer.Name = name;
     racer.Organization = organization;
     return racer;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Racers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRacers(Racer racer)
 {
     base.AddObject("Racers", racer);
 }