Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error at EFCore 2.2 #42

Open
Teastears opened this issue Nov 14, 2019 · 3 comments
Open

Error at EFCore 2.2 #42

Teastears opened this issue Nov 14, 2019 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Teastears
Copy link

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
@pwelter34
Copy link
Member

Any ideas on how to handle? Add a flag for version outputted?

@pwelter34 pwelter34 added enhancement New feature or request help wanted Extra attention is needed labels Nov 14, 2019
@Teastears
Copy link
Author

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
Copy link
Author

I have a try to solve and pull a request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants