Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the RaceClasses EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRaceClasses(RaceClass raceClass)
 {
     base.AddObject("RaceClasses", raceClass);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new RaceClass object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="className">Initial value of the ClassName property.</param>
 public static RaceClass CreateRaceClass(global::System.Int64 id, global::System.String className)
 {
     RaceClass raceClass = new RaceClass();
     raceClass.Id = id;
     raceClass.ClassName = className;
     return raceClass;
 }