Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReflectionCommon throws exception for EF Core 2.1 #19

Open
Scandal-UK opened this issue Jun 5, 2018 · 2 comments
Open

ReflectionCommon throws exception for EF Core 2.1 #19

Scandal-UK opened this issue Jun 5, 2018 · 2 comments

Comments

@Scandal-UK
Copy link

This extension appears to throw an exception whenever it is used with EF Core 2.1 - I am using "v2.1.0-rc1-final" of Pomelo EntityFrameworkCore MySql.

System.TypeInitializationException: The type initializer for 'Pomelo.EntityFrameworkCore.Lolita.ReflectionCommon' threw an exception. ---> System.InvalidOperationException: Sequence contains no matching element
   at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source, Func`2 predicate)
   at Pomelo.EntityFrameworkCore.Lolita.ReflectionCommon..cctor()
@toralux
Copy link
Member

toralux commented Jul 5, 2018

Do anyone have a solution for 2.1/2.1.1? Or should I revert to 2.0?

@Scandal-UK
Copy link
Author

The last commit for this project was November 2017. I have removed Lolita from my projects as it is no longer maintained - I have replaced it with calls to ExecuteSqlCommandAsync, which is likely to continue working going forwards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants