Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TimeLimits EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTimeLimits(TimeLimit timeLimit)
 {
     base.AddObject("TimeLimits", timeLimit);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new TimeLimit object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="maxTime">Initial value of the MaxTime property.</param>
 public static TimeLimit CreateTimeLimit(global::System.Int32 id, global::System.TimeSpan maxTime)
 {
     TimeLimit timeLimit = new TimeLimit();
     timeLimit.Id = id;
     timeLimit.MaxTime = maxTime;
     return timeLimit;
 }