Comments (3)
@TheMegaMatt It's right -- currently the only inheritance strategy implemented in EFCore is TablePerHierarchy. The way validation is set up now, if you're already set to an EFCore model, new entities will be created with a TablePerHierarchy strategy. If you try to change that, it stubbornly changes it back. If you're creating an EF6 model, though, and change it to an EFCore model, it checks the entities for various limitations. If any of those restrictions are broken by anything in the current model, it displays the error message and rejects the change to EFCore.
I've been working on the documentation this week and plan to add a listing of all the validation rules enforced in the model ... that's coming up real soon now. IMHO, EFCore isn't yet ready for prime time. I tend to have serious discussions with anyone wanting to use it today. Not to say it isn't getting better, but there's just too much that isn't quite done. (The one that makes me craziest is the lack of many-to-many associations, but I don't want to get started on that right now.)
from efdesigner.
@TheMegaMatt One thing I do see is that, when you have an empty design surface, you should be able to switch to EFCore without having to change the inheritance strategy yourself. Since there are no entities, there are no negative effects to the change, and the tool should just do it and be quiet about it. I'll make that change -- since it's not a show-stopper, I'll hold off on releasing a new version until other things pile up, though.
from efdesigner.
Closing based on the above.
from efdesigner.
Related Issues (20)
- Visual Studio 2022 HOT 3
- "Add -> Property" context menu entry missing, cannot add properties to entities HOT 2
- Cant set inherited entity HOT 1
- No way to import HOT 2
- Partial classes being deleted on regeneration HOT 4
- Missing ForaignKey on 1 <-> 0..1
- How add /drag an existing model or entity to design surface HOT 1
- How to import model/tables From existing Database HOT 2
- INotifyPropertyChanged removed - Help needed HOT 1
- Toolbox Items missing/Greyed out HOT 4
- Null Reference exception in Solution Explorer context menu
- Code Generation Creating Ambiguous Constructor Signatures in Specific Inheritance Scenario
- Meaningless error when trying to drag-and-drop a dll file on diagram area
- Support for per-entity inheritance hierarchy types
- Many to many with EF core 7 HOT 1
- Upgrade entity framework visual editor to latest version, now EF Model Diagrams disabled HOT 2
- Add an Example for ModelElementExtensions.GetAll(T) Method
- Missing INotifyPropertyChanged option on entity HOT 1
- "Save as image" needs work HOT 2
- "Is Identity" field missing from properties view HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from efdesigner.