/// <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);
 }
 /// <summary>
 /// Create a new ErrorLog object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="exception">Initial value of the Exception property.</param>
 /// <param name="innerException">Initial value of the InnerException property.</param>
 /// <param name="stackTrace">Initial value of the StackTrace property.</param>
 /// <param name="dateTimeStamp">Initial value of the DateTimeStamp property.</param>
 /// <param name="details">Initial value of the Details property.</param>
 public static ErrorLog CreateErrorLog(global::System.Int32 id, global::System.String exception, global::System.String innerException, global::System.String stackTrace, global::System.DateTime dateTimeStamp, global::System.String details)
 {
     ErrorLog errorLog = new ErrorLog();
     errorLog.Id = id;
     errorLog.Exception = exception;
     errorLog.InnerException = innerException;
     errorLog.StackTrace = stackTrace;
     errorLog.DateTimeStamp = dateTimeStamp;
     errorLog.Details = details;
     return errorLog;
 }