Skip to content

Conversation

@AlexanderPro
Copy link

Hi,

The library has an exception for .NET 7.0. This PR should fix it.

System.MissingMethodException: Method not found: 'System.String Microsoft.EntityFrameworkCore.RelationalPropertyExtensions.GetColumnName(Microsoft.EntityFrameworkCore.Metadata.IProperty)'.
   at EntityFramework.MemoryJoin.Internal.EFHelper.GetKeyProperty(DbContext context, Type t)
   at EntityFramework.MemoryJoin.Internal.MappingHelper.GetEntityMapping[T](DbContext context, Type queryClass, Dictionary`2 allowedPropertyMapping)
   at EntityFrameworkCore.MemoryJoin.MemoryJoiner.FromLocalList[T](DbContext context, IList`1 data, Type queryClass, ValuesInjectionMethod method)
   at EntityFrameworkCore.MemoryJoin.MemoryJoiner.FromLocalList[T](DbContext context, IList`1 data, Type queryClass)
   at EntityFrameworkCore.MemoryJoin.MemoryJoiner.FromLocalList[T](DbContext context, IList`1 data)

@johnkwaters
Copy link

I am running into the same error with .net 7 - any chance this PR can get approved?

@pacoteinnov
Copy link

pacoteinnov commented Mar 17, 2023

For those that can migrate to another library, https://github.com/Noticia-Systems/Noticia.EntityFrameworkCore.MemoryJoin supports .NET7. It is based on EntityFramework.MemoryJoin and the queries are parametrized.

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

Successfully merging this pull request may close these issues.

3 participants