public MarauderMapDbContext CreateDbContext(string[] args) { MarauderMapEfCoreEntityExtensionMappings.Configure(); var configuration = BuildConfiguration(); var builder = new DbContextOptionsBuilder <MarauderMapDbContext>() .UseSqlite(configuration.GetConnectionString("Default")); return(new MarauderMapDbContext(builder.Options)); }
public override void PreConfigureServices(ServiceConfigurationContext context) { MarauderMapEfCoreEntityExtensionMappings.Configure(); }