public static void TestExecuteReaderTwiceInSequence(string connectionString, string commandText)
 {
     ManualResetEvent mre = new ManualResetEvent(false);
     var executor = new AsyncExecuteReaderInSequence(connectionString, commandText, mre);
     executor.BeginExecute();
     mre.WaitOne(1000);
 }
Exemplo n.º 2
0
        public static void TestExecuteReaderTwiceInSequence(string connectionString, string commandText)
        {
            ManualResetEvent mre = new ManualResetEvent(false);
            var executor         = new AsyncExecuteReaderInSequence(connectionString, commandText, mre);

            executor.BeginExecute();
            mre.WaitOne(1000);
        }