Skip to content

ReflectionCommon throws exception for EF Core 2.1 #19

@Scandal-UK

Description

@Scandal-UK

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions