Пример #1
0
        public void GetScalar0AsyncTest()
        {
            using (IDatabaseClient client = CreateDatabaseClient())
            {
                IAsyncResult result   = client.BeginExecuteScalar("0", null, null, null);
                object       received = client.EndExecuteScalar(result);

                Assert.IsInstanceOfType(typeof(int), received);
            }
        }