示例#1
0
 public void CommandStop()
 {
     Interlocked.Decrement(ref _currentCommands);
     NpgsqlSqlEventSource.CommandStop();
 }
示例#2
0
 public void CommandStart(string sql)
 {
     Interlocked.Increment(ref _totalCommands);
     Interlocked.Increment(ref _currentCommands);
     NpgsqlSqlEventSource.CommandStart(sql);
 }