Example #1
0
        public void ExecuteResourceScript_Drop()
        {
            var options = new DbScriptExecuteOptions("Shuhari_Framework_TestDb", null, true);

            DbFixtures.DropDatabase(options);
            AssertDbExist("Shuhari_Framework_TestDb", false);
        }
Example #2
0
        public void ExecResourceScript_Create_ReplaceDbName()
        {
            var options = new DbScriptExecuteOptions("Shuhari_Framework_OtherDb", null, true);

            DbFixtures.CreateDatabase(options);
            AssertDbExist("Shuhari_Framework_OtherDb", true);
        }