示例#1
0
        public void Setup()
        {
            if (!DatabaseInit.DatabaseExists("BCAPIDatabase_Dev"))
            {
                DatabaseInit.CreateDatabase("BCAPIDatabase_Dev");
            }

            _transaction = new TransactionScope(TransactionScopeOption.Required,
                                                new TransactionOptions {
                IsolationLevel = IsolationLevel.ReadUncommitted, Timeout = new TimeSpan(0, 0, 10)
            });
        }