/// <summary>
 /// Create a new ErrorLog object.
 /// </summary>
 /// <param name="errorLogID">Initial value of the ErrorLogID property.</param>
 /// <param name="errorTime">Initial value of the ErrorTime property.</param>
 /// <param name="userName">Initial value of the UserName property.</param>
 /// <param name="errorNumber">Initial value of the ErrorNumber property.</param>
 /// <param name="errorMessage">Initial value of the ErrorMessage property.</param>
 public static ErrorLog CreateErrorLog(global::System.Int32 errorLogID, global::System.DateTime errorTime, global::System.String userName, global::System.Int32 errorNumber, global::System.String errorMessage)
 {
     ErrorLog errorLog = new ErrorLog();
     errorLog.ErrorLogID = errorLogID;
     errorLog.ErrorTime = errorTime;
     errorLog.UserName = userName;
     errorLog.ErrorNumber = errorNumber;
     errorLog.ErrorMessage = errorMessage;
     return errorLog;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the ErrorLogs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToErrorLogs(ErrorLog errorLog)
 {
     base.AddObject("ErrorLogs", errorLog);
 }