EntityFrameworkCore.Generator
EntityFrameworkCore.Generator copied to clipboard
Error at EFCore 2.2
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
Any ideas on how to handle? Add a flag for version outputted?
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
I have a try to solve and pull a request