/// <summary> /// Deprecated Method for adding a new object to the LogonAttempts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLogonAttempts(LogonAttempt logonAttempt) { base.AddObject("LogonAttempts", logonAttempt); }
/// <summary> /// Create a new LogonAttempt object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="success">Initial value of the Success property.</param> /// <param name="createDate">Initial value of the CreateDate property.</param> public static LogonAttempt CreateLogonAttempt(global::System.Int64 id, global::System.Boolean success, global::System.DateTime createDate) { LogonAttempt logonAttempt = new LogonAttempt(); logonAttempt.ID = id; logonAttempt.Success = success; logonAttempt.CreateDate = createDate; return logonAttempt; }