private static void ResetDatabase() { var checkpoint = new Checkpoint { SchemasToExclude = new[] { "RoundhousE" }, TablesToIgnore = new[] { "sysdiagrams", "ApplicationStatus", } }; checkpoint.Reset(TestDependencyScope.Resolve <Func <IDbConnection> >()().ConnectionString).GetAwaiter().GetResult(); }
public static object Resolve(Type type) { return(TestDependencyScope.Resolve(type)); }
public static T Resolve <T>() { return(TestDependencyScope.Resolve <T>()); }