Example #1
0
 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;
     }
 }
Example #2
0
 internal void LogSqlCommand()
 {
     LoggingUtilities.LogSqlCommand("SqlLog", CommandCollection, 0);
 }
Example #3
0
 internal void LogSqlCommand(string commandText)
 {
     LoggingUtilities.LogSqlCommand("SqlLog", CommandCollection, commandText);
 }