You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
562 B
C#
15 lines
562 B
C#
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
|
|
namespace EntityFrameworkCore.Jet.FunctionalTests.TestUtilities
|
|
{
|
|
public static class JetDatabaseFacadeExtensions
|
|
{
|
|
public static void EnsureClean(this DatabaseFacade databaseFacade)
|
|
=> databaseFacade.CreateExecutionStrategy()
|
|
.Execute(databaseFacade, database => new JetDatabaseCleaner().Clean(database));
|
|
}
|
|
}
|