/// <summary> /// Deprecated Method for adding a new object to the ExceptionLogSet EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToExceptionLogSet(ExceptionLog exceptionLog) { base.AddObject("ExceptionLogSet", exceptionLog); }
/// <summary> /// Create a new ExceptionLog object. /// </summary> /// <param name="exceptionLogId">Initial value of the ExceptionLogId property.</param> /// <param name="exceptionLogDate">Initial value of the ExceptionLogDate property.</param> /// <param name="exceptionLogMessage">Initial value of the ExceptionLogMessage property.</param> /// <param name="exceptionLogStackTrace">Initial value of the ExceptionLogStackTrace property.</param> public static ExceptionLog CreateExceptionLog(global::System.Guid exceptionLogId, global::System.DateTime exceptionLogDate, global::System.String exceptionLogMessage, global::System.String exceptionLogStackTrace) { ExceptionLog exceptionLog = new ExceptionLog(); exceptionLog.ExceptionLogId = exceptionLogId; exceptionLog.ExceptionLogDate = exceptionLogDate; exceptionLog.ExceptionLogMessage = exceptionLogMessage; exceptionLog.ExceptionLogStackTrace = exceptionLogStackTrace; return exceptionLog; }