/// <summary> /// Deprecated Method for adding a new object to the RaceClasses EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRaceClasses(RaceClass raceClass) { base.AddObject("RaceClasses", raceClass); }
/// <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; }