Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ExceptionLogs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToExceptionLogs(ExceptionLog exceptionLog)
 {
     base.AddObject("ExceptionLogs", exceptionLog);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new ExceptionLog object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="exception">Initial value of the exception property.</param>
 /// <param name="timeOf">Initial value of the timeOf property.</param>
 public static ExceptionLog CreateExceptionLog(global::System.Int32 id, global::System.String exception, global::System.DateTime timeOf)
 {
     ExceptionLog exceptionLog = new ExceptionLog();
     exceptionLog.Id = id;
     exceptionLog.exception = exception;
     exceptionLog.timeOf = timeOf;
     return exceptionLog;
 }