/// <summary> /// Deprecated Method for adding a new object to the ErrorLogs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToErrorLogs(ErrorLog errorLog) { base.AddObject("ErrorLogs", errorLog); }
/// <summary> /// Create a new ErrorLog object. /// </summary> /// <param name="errorLogId">Initial value of the ErrorLogId property.</param> /// <param name="source">Initial value of the Source property.</param> /// <param name="errorcode">Initial value of the Errorcode property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="stacktrace">Initial value of the Stacktrace property.</param> /// <param name="identifiedDate">Initial value of the IdentifiedDate property.</param> public static ErrorLog CreateErrorLog(global::System.Int32 errorLogId, global::System.String source, global::System.String errorcode, global::System.String description, global::System.String stacktrace, global::System.DateTime identifiedDate) { ErrorLog errorLog = new ErrorLog(); errorLog.ErrorLogId = errorLogId; errorLog.Source = source; errorLog.Errorcode = errorcode; errorLog.Description = description; errorLog.Stacktrace = stacktrace; errorLog.IdentifiedDate = identifiedDate; return errorLog; }