question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update EntityFramework.DynamicFilters to v2.3.

See original GitHub issue

when i update the database, then my vs2015 error: PM> Add-Migration qq -Force System.MissingMethodException: Method not found: ‘Void EntityFramework.DynamicFilters.DynamicFilterExtensions.Filter(System.Data.Entity.DbModelBuilder, System.String, System.Linq.Expressions.Expression1<System.Func3<!!0,!!1,Boolean>>, !!1)’. 在 Abp.EntityFramework.AbpDbContext.OnModelCreating(DbModelBuilder modelBuilder) 在 Abp.Zero.EntityFramework.AbpZeroDbContext3.OnModelCreating(DbModelBuilder modelBuilder) 位置 D:\Halil\GitHub\module-zero\src\Abp.Zero.EntityFramework\Zero\EntityFramework\AbpZeroDbContext.cs:行号 88 在 System.Data.Entity.Internal.LazyInternalContext.CreateModelBuilder() 在 System.Data.Entity.Internal.LazyInternalContext.CreateModel(LazyInternalContext internalContext) 在 System.Data.Entity.Internal.RetryLazy2.GetValue(TInput input) 在 System.Data.Entity.Internal.LazyInternalContext.InitializeContext() 在 System.Data.Entity.Internal.InternalContext.ForceOSpaceLoadingForKnownEntityTypes() 在 System.Data.Entity.DbContext.System.Data.Entity.Infrastructure.IObjectContextAdapter.get_ObjectContext() 在 Abp.EntityFramework.AbpDbContext.RegisterToChanges() 位置 D:\Halil\GitHub\aspnetboilerplate\src\Abp.EntityFramework\EntityFramework\AbpDbContext.cs:行号 133 在 Abp.Zero.EntityFramework.AbpZeroDbContext3..ctor(String nameOrConnectionString) 位置 D:\Halil\GitHub\module-zero\src\Abp.Zero.EntityFramework\Zero\EntityFramework\AbpZeroDbContext.cs:行号 72 在 EasyFast.EntityFramework.EasyFastDbContext..ctor() 位置 D:\EasyFast\EasyFast\EasyFast.EntityFramework\EntityFramework\EasyFastDbContext.cs:行号 21 --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Data.Entity.Infrastructure.DbContextInfo.CreateInstance() 在 System.Data.Entity.Infrastructure.DbContextInfo..ctor(Type contextType, DbProviderInfo modelProviderInfo, AppConfig config, DbConnectionInfo connectionInfo, Func1 resolver) 在 System.Data.Entity.Migrations.DbMigrator…ctor(DbMigrationsConfiguration configuration, DbContext usersContext, DatabaseExistenceState existenceState, Boolean calledByCreateDatabase) 在 System.Data.Entity.Migrations.DbMigrator…ctor(DbMigrationsConfiguration configuration) 在 System.Data.Entity.Migrations.Design.MigrationScaffolder…ctor(DbMigrationsConfiguration migrationsConfiguration) 在 System.Data.Entity.Migrations.Design.ToolingFacade.ScaffoldRunner.Run() 在 System.AppDomain.DoCallBack(CrossAppDomainDelegate callBackDelegate) 在 System.AppDomain.DoCallBack(CrossAppDomainDelegate callBackDelegate) 在 System.Data.Entity.Migrations.Design.ToolingFacade.Run(BaseRunner runner) 在 System.Data.Entity.Migrations.Design.ToolingFacade.Scaffold(String migrationName, String language, String rootNamespace, Boolean ignoreChanges) 在 System.Data.Entity.Migrations.AddMigrationCommand.Execute(String name, Boolean force, Boolean ignoreChanges) 在 System.Data.Entity.Migrations.AddMigrationCommand.<>c__DisplayClass2.<.ctor>b__0() 在 System.Data.Entity.Migrations.MigrationsDomainCommand.Execute(Action command) Method not found: ‘Void EntityFramework.DynamicFilters.DynamicFilterExtensions.Filter(System.Data.Entity.DbModelBuilder, System.String, System.Linq.Expressions.Expression1<System.Func3<!!0,!!1,Boolean>>, !!1)’.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:23 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
hikalkancommented, Jul 31, 2017

Downgrade EntityFramework.DynamicFilters to 2.8

1reaction
ismcagdascommented, Jul 31, 2017

Hi @agussalimmokhtar,

We will check this. Which version of EntityFramework.DynamicFilters do you use specifically ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

EntityFramework.DynamicFilters 3.0.2-preview6-01
Provides global & scoped filters for Entity Framework with dynamic filter parameters that are evaluated at query execution.
Read more >
EntityFramework.DynamicFilters 3.2.4
Provides global & scoped filters for Entity Framework with dynamic filter parameters that are evaluated at query execution.
Read more >
What's Entity Framework Dynamic Filters?
This filter will ensure that all queries made for Note entities will always be restricted to the current user, and it will not...
Read more >
Overview in EF Dynamic Filters
EntityFramework Dynamic Filters is a library that Creates global and scoped filters for Entity Framework queries. The filters are automatically applied to ...
Read more >
Using dynamic filters with Entity Framework Core
I'm getting the filter conditions in JSON and I'm deserializing it into an object. I want to write a where LINQ query which...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found