/// <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="errorID">Initial value of the ErrorID property.</param> /// <param name="message">Initial value of the Message property.</param> /// <param name="tableName">Initial value of the TableName property.</param> /// <param name="action">Initial value of the Action property.</param> public static ErrorLog CreateErrorLog(global::System.Int32 errorID, global::System.String message, global::System.String tableName, global::System.String action) { ErrorLog errorLog = new ErrorLog(); errorLog.ErrorID = errorID; errorLog.Message = message; errorLog.TableName = tableName; errorLog.Action = action; return errorLog; }