/// <summary> /// Deprecated Method for adding a new object to the RunnerRaceRecords EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRunnerRaceRecords(RunnerRaceRecord runnerRaceRecord) { base.AddObject("RunnerRaceRecords", runnerRaceRecord); }
/// <summary> /// Create a new RunnerRaceRecord object. /// </summary> /// <param name="runnerRaceRecordId">Initial value of the RunnerRaceRecordId property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="raceId">Initial value of the RaceId property.</param> /// <param name="runnerClassificationId">Initial value of the RunnerClassificationId property.</param> /// <param name="varsityLevelId">Initial value of the VarsityLevelId property.</param> public static RunnerRaceRecord CreateRunnerRaceRecord(global::System.Int64 runnerRaceRecordId, global::System.Int64 userId, global::System.Int64 raceId, global::System.Int32 runnerClassificationId, global::System.Int32 varsityLevelId) { RunnerRaceRecord runnerRaceRecord = new RunnerRaceRecord(); runnerRaceRecord.RunnerRaceRecordId = runnerRaceRecordId; runnerRaceRecord.UserId = userId; runnerRaceRecord.RaceId = raceId; runnerRaceRecord.RunnerClassificationId = runnerClassificationId; runnerRaceRecord.VarsityLevelId = varsityLevelId; return runnerRaceRecord; }