/// <summary>
		/// Executes stored procedure uspPrintError. Opens new connection.
		/// </summary>
		/// <returns>Data retrieved by stored procedure.</returns>
		public static StoredProcedureResult UspPrintError()
		{
			IConnectionProvider conn = new Catalog().CreateConnectionProvider();
			try
			{
				StoredProcedureResult result = UspPrintError(conn);
				return result;
			}
			finally
			{
				conn.Dispose();
			}
		}
		/// <summary>
		/// Executes stored procedure uspLogError. Opens new connection.
		/// </summary>
		/// <param name="errorLogID">Input/output parameter: ErrorLogID.</param>
		/// <returns>Data retrieved by stored procedure.</returns>
		public static StoredProcedureResult UspLogError(ref  int? errorLogID)
		{
			IConnectionProvider conn = new Catalog().CreateConnectionProvider();
			try
			{
				StoredProcedureResult result = UspLogError(conn, ref  errorLogID);
				return result;
			}
			finally
			{
				conn.Dispose();
			}
		}