Пример #1
0
 private static Task EnsureCreated_can_create_physical_database_and_schema_test(bool async, bool file)
 {
     return(SqlServerTestStore.GetExecutionStrategy().ExecuteAsync(async state =>
     {
         using (var testDatabase = SqlServerTestStore.CreateScratch(createDatabase: false, useFileName: state.file))
         {
             await RunDatabaseCreationTest(testDatabase, state.async);
         }
     }, new { async, file }));
 }