public OrganizationUnitSampleMigrationsDbContext CreateDbContext(string[] args)
        {
            OrganizationUnitSampleEfCoreEntityExtensionMappings.Configure();

            var configuration = BuildConfiguration();

            var builder = new DbContextOptionsBuilder <OrganizationUnitSampleMigrationsDbContext>()
                          .UseSqlServer(configuration.GetConnectionString("Default"));

            return(new OrganizationUnitSampleMigrationsDbContext(builder.Options));
        }
 public override void PreConfigureServices(ServiceConfigurationContext context)
 {
     OrganizationUnitSampleEfCoreEntityExtensionMappings.Configure();
 }