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