/// <summary> /// Deprecated Method for adding a new object to the RunnerRaceRecordSegments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRunnerRaceRecordSegments(RunnerRaceRecordSegment runnerRaceRecordSegment) { base.AddObject("RunnerRaceRecordSegments", runnerRaceRecordSegment); }
/// <summary> /// Create a new RunnerRaceRecordSegment object. /// </summary> /// <param name="runnerRaceRecordSegmentId">Initial value of the RunnerRaceRecordSegmentId property.</param> /// <param name="runnerRaceRecordId">Initial value of the RunnerRaceRecordId property.</param> /// <param name="elapsedTimeInSeconds">Initial value of the ElapsedTimeInSeconds property.</param> public static RunnerRaceRecordSegment CreateRunnerRaceRecordSegment(global::System.Int64 runnerRaceRecordSegmentId, global::System.Int64 runnerRaceRecordId, global::System.Int32 elapsedTimeInSeconds) { RunnerRaceRecordSegment runnerRaceRecordSegment = new RunnerRaceRecordSegment(); runnerRaceRecordSegment.RunnerRaceRecordSegmentId = runnerRaceRecordSegmentId; runnerRaceRecordSegment.RunnerRaceRecordId = runnerRaceRecordId; runnerRaceRecordSegment.ElapsedTimeInSeconds = elapsedTimeInSeconds; return runnerRaceRecordSegment; }