Open Closed

manual installation - method not found #207


0
cicciottino created

i'm trying to install module zero from scratch

i've followed the documentation: http://aspnetboilerplate.com/Pages/Docu ... tallManual

till this point... i can't see this method

internal sealed class Configuration : DbMigrationsConfiguration<AbpZeroSample.EntityFramework.AbpZeroSampleDbContext>
{
    public Configuration()
    {
        AutomaticMigrationsEnabled = false;
        ContextKey = "AbpZeroSample";
    }

    protected override void Seed(AbpZeroSample.EntityFramework.AbpZeroSampleDbContext context)
    {
        context.DisableAllFilters();   //<--- it seems not existing ????
        new DefaultTenantRoleAndUserBuilder(context).Build();
    }
}

xxx.DisableAllFilters(); where is implemented?

"AbpZeroSampleDbContext" implements "AbpZeroDbContext" where i supposed to found the method (or in its own derivated classes)


2 Answer(s)
  • 0
    hikalkan created

    It's in EntityFramework.DynamicFilters nuget package. It should be installed when you install Abp.EntityFramework. Maybe you should add it's namespace to your file.

  • 0
    cicciottino created

    Good!