neisbut / EntityFramework.MemoryJoin

Extension for EntityFramework for joins to in-memory data
MIT License
56 stars 24 forks source link

.net 6 support #24

Open OPSnake opened 2 years ago

OPSnake commented 2 years ago

Hi,

I have an exception with .net6. The FindEntityType method is not an extension method in .net 6. Message:  System.MissingMethodException : Method not found: 'Microsoft.EntityFrameworkCore.Metadata.IEntityType Microsoft.EntityFrameworkCore.ModelExtensions.FindEntityType(Microsoft.EntityFrameworkCore.Metadata.IModel, System.Type)'.

Arborescence des appels de procédure:  EFHelper.GetKeyProperty(DbContext context, Type t) MappingHelper.GetEntityMapping[T](DbContext context, Type queryClass, Dictionary2 allowedPropertyMapping) MemoryJoiner.FromLocalList[T](DbContext context, IList1 data, Type queryClass, ValuesInjectionMethod method) MemoryJoiner.FromLocalList[T](DbContext context, IList1 data, Type queryClass) MemoryJoiner.FromLocalList[T](DbContext context, IList1 data)

Thanks

neisbut commented 2 years ago

Hi @OPSnake , .Net 6 should be supported in the latest version.