Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the LockOutTimes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLockOutTimes(LockOutTime lockOutTime)
 {
     base.AddObject("LockOutTimes", lockOutTime);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new LockOutTime object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="startTime">Initial value of the StartTime property.</param>
 /// <param name="endTime">Initial value of the EndTime property.</param>
 public static LockOutTime CreateLockOutTime(global::System.Int32 id, global::System.String startTime, global::System.DateTime endTime)
 {
     LockOutTime lockOutTime = new LockOutTime();
     lockOutTime.Id = id;
     lockOutTime.StartTime = startTime;
     lockOutTime.EndTime = endTime;
     return lockOutTime;
 }