Entity Framework Wizard
I'm not sure if I'm alone in this but I find it very cumbersome when working with Entity Framework right now. My personal preference is to use nHibernate, however, one of the development teams that I am currently working with strictly use Entity Framework. One of the main benefits of using EF in Visual Studio is how quick and easy you can connect to existing SQL databases and build an entity model using the built-in wizard.
Is there an EF wizard like this available in Rider and if not, will there be one released at any point soon?
Also, is there any instruction on how to properly setup and configure EF within Rider right now (assuming that there is no wizard available)?
Thanks in advance.
Please sign in to leave a comment.
Code First approach is what most people use so it is better to go that way.With code first you have more control the Database First(your approach).
Switched over to code first, although a database first wizard would be very nice :).
Even Code first in Rider is clunky.
Every time I perform an entity framework action in the I have to fill in all the information before running a command: project, configuration type, config project, config file, config source, log level, etc. It is so painful and error-prone that most people I know just keep Visual Studio open just so they can run the EF commands like add-migration and update-database on the PM console of VS. Is there anyway we can set the default values for a project? This feature was clearly developed by someone who does not do EF code first development... i.e., not dog-fooding the product.
Hi there,
@Shea Martin, it is indeed a very annoying problem, and we have an issue for it: https://youtrack.jetbrains.com/issue/RIDER-20882. Please vote to raise its priority. Also, your feedback has been translated to the team.
PS: some useful links about EF support in Rider:
https://blog.jetbrains.com/dotnet/2018/04/06/entity-framework-support-rider-2018-1/
https://blog.jetbrains.com/dotnet/2017/08/09/running-entity-framework-core-commands-rider
Kind regards,
Sofia.