예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the RunnerRaceRecordSegments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRunnerRaceRecordSegments(RunnerRaceRecordSegment runnerRaceRecordSegment)
 {
     base.AddObject("RunnerRaceRecordSegments", runnerRaceRecordSegment);
 }
예제 #2
0
 /// <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;
 }