/// <summary> /// A transactional test database, pre-populated with Northwind schema/data /// </summary> public static Task <SqlServerTestStore> GetSharedStoreAsync() { return(SqlServerTestStore.GetOrCreateSharedAsync( DatabaseName, () => SqlServerTestStore.CreateDatabaseIfNotExistsAsync(DatabaseName, scriptPath: @"..\..\Northwind.sql"))); // relative from bin/<config> }
/// <summary> /// A transactional test database, pre-populated with Northwind schema/data /// </summary> public static Task <SqlServerTestStore> GetSharedStoreAsync() { return(SqlServerTestStore.GetOrCreateSharedAsync( DatabaseName, () => SqlServerTestStore.CreateDatabaseAsync(DatabaseName, scriptPath: @"Northwind.sql"))); }