Base solution for your next web application
Open Closed

manual installation - method not found #207


User avatar
0
cicciottino created

i'm trying to install module zero from scratch

i've followed the documentation: <a class="postlink" href="http://aspnetboilerplate.com/Pages/Documents/Zero/installation#DocInstallManual">http://aspnetboilerplate.com/Pages/Docu ... tallManual</a>

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)
  • User Avatar
    0
    hikalkan created
    Support Team

    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.

  • User Avatar
    0
    cicciottino created

    Good!