/// <summary> /// Create a new SecLoginLog object. /// </summary> /// <param name="logId">Initial value of the LogId property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="loginId">Initial value of the LoginId property.</param> /// <param name="loginTime">Initial value of the LoginTime property.</param> /// <param name="logoutTime">Initial value of the LogoutTime property.</param> /// <param name="sucess">Initial value of the Sucess property.</param> public static SecLoginLog CreateSecLoginLog(global::System.Int32 logId, global::System.Int32 userId, global::System.String loginId, global::System.DateTime loginTime, global::System.DateTime logoutTime, global::System.Boolean sucess) { SecLoginLog secLoginLog = new SecLoginLog(); secLoginLog.LogId = logId; secLoginLog.UserId = userId; secLoginLog.LoginId = loginId; secLoginLog.LoginTime = loginTime; secLoginLog.LogoutTime = logoutTime; secLoginLog.Sucess = sucess; return secLoginLog; }
/// <summary> /// Deprecated Method for adding a new object to the SecLoginLogs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSecLoginLogs(SecLoginLog secLoginLog) { base.AddObject("SecLoginLogs", secLoginLog); }