Error at EFCore 2.2
Teastears opened this issue · comments
Teastears commented
My project is run with EFCore 2.2
when I build code by Views,The Map File has a Error.There have 2 method which are not supported.
Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity>.HasNoKey
Microsoft.EntityFrameworkCore.RelationalEntityTypeBuilderExtensions.ToView
Paul Welter commented
Any ideas on how to handle? Add a flag for version outputted?
Teastears commented
I have no idea.Maybe can check EFCore verion before build code,if it is 2.x ,skip all the Views,only build the Tables
Teastears commented
I have a try to solve and pull a request