/// <summary>
 /// Deprecated Method for adding a new object to the LockOutDates EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLockOutDates(LockOutDate lockOutDate)
 {
     base.AddObject("LockOutDates", lockOutDate);
 }
 /// <summary>
 /// Create a new LockOutDate object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="reason">Initial value of the Reason property.</param>
 /// <param name="startDate">Initial value of the StartDate property.</param>
 /// <param name="endDate">Initial value of the EndDate property.</param>
 public static LockOutDate CreateLockOutDate(global::System.Int32 id, global::System.String name, global::System.String reason, global::System.DateTime startDate, global::System.DateTime endDate)
 {
     LockOutDate lockOutDate = new LockOutDate();
     lockOutDate.Id = id;
     lockOutDate.Name = name;
     lockOutDate.Reason = reason;
     lockOutDate.StartDate = startDate;
     lockOutDate.EndDate = endDate;
     return lockOutDate;
 }