Giter Site home page Giter Site logo

Comments (3)

msawczyn avatar msawczyn commented on May 19, 2024

@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.

msawczyn avatar msawczyn commented on May 19, 2024

@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.

msawczyn avatar msawczyn commented on May 19, 2024

Closing based on the above.

from efdesigner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.