internal static void LogSqlCommand(IDbCommand[] commandCollection, string commandText) { try { LoggingUtilities.LogSqlCommand("SqlLog", commandCollection, commandText); } catch (LoggingUtilitiesCommandNotFoundException e) { Info("Logging error: " + e.Message); } catch (Exception) { throw; } }
internal void LogSqlCommand() { LoggingUtilities.LogSqlCommand("SqlLog", CommandCollection, 0); }
internal void LogSqlCommand(string commandText) { LoggingUtilities.LogSqlCommand("SqlLog", CommandCollection, commandText); }