/// <summary> /// Deprecated Method for adding a new object to the LockOutTimes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLockOutTimes(LockOutTime lockOutTime) { base.AddObject("LockOutTimes", lockOutTime); }
/// <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; }