ASP.NET Monsters #48: Configuring Entity Framework

Play ASP.NET Monsters #48: Configuring Entity Framework

The Discussion

  • User profile image

    Anyway I can place entity framework core in a class library file? Then reference it in other front end projects like or others.

  • User profile image

    @Alex219267: Yeah for sure you can put your EF Core bits in a class library and reference that library in other projects. The only problem with that right now is that the EF migrations tool doesn't work with class libraries. I hope that issue is fixed soon.

  • User profile image
    Thiago Menezes

    There's a workaround to EF migrations tool work with class libraries.
    Just creating a static void Main method in a class.
    Look at this:

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.