test/Shared/FunctionalTests.Transitional/TestHelpers/FunctionalTestBase.cs
/// <summary>
/// Drops and then initializes the database that will be used for the context.
/// </summary>
/// <param name="createContext"> A func to create the context. </param>
Drops and then initializes the database that will be used for the context.
Drops and then initializes the database that will be used for the context .
protected static void ResetDatabase(Func<DbContext> createContext)
        {
            DropDatabase(createContext);
            EnsureDatabaseInitialized(createContext);
        }
protected static void ResetDatabase ( Func < DbContext > createContext ) { DropDatabase ( createContext ) ; EnsureDatabaseInitialized ( createContext ) ; }
Drops and then initializes the database that will be used for the context.
Drops and then initializes the database that will be used for the context .
createContext
Func<DbContext>
A func to create the context.
A func to create the context .