I installed asp.net 5 and Ef 7 rc1 And i m trying to write a generic repository and i need the find method For the "get" method , but it doesn't exists Is it on purpose , is there an alternative? is it a bug?
-
2Possible duplicate of DbSet doesn't have a Find method in EF7 – Carlos Muñoz Nov 23 '15 at 22:27
-
A solution of using a generic repository to get around the Find limitation was asked here: stackoverflow.com/questions/33647984/… – devfric Nov 24 '15 at 3:45
It is not yet implemented.
See https://github.com/aspnet/EntityFramework/issues/797 for more details about it
It was included in the Entity Framework Core 1.1 Preview 1 version with exactly the same behavior of EF 6.x, if the entity is already loaded into the context, then it is returned without querying the database, so it will remain in later version of EF Core
It was included in the Entity Framework Core 1.1 Preview 1 version with exactly the same behavior of EF 6.x, if the entity is already loaded into the context, then it is returned without querying the database, so it will remain in later version of EF Core