Tool to generate little

0

I have a postgres database with several tables and I need to generate their classes. Is there any free tool that manages the few to be used with EF6? I searched but did not find it. I am using VS2015 and postgres latest version.

    
asked by anonymous 17.08.2017 / 01:02

2 answers

1

I created a package at nuget.org called "Cap" which does what I need, generates the templates and context class to use with Entity Framework 6 and PostgreSQL. Cap link.

    
27.08.2017 / 00:49
1

The visual studio itself generates, however you have to work with the Database First model.

Add an ADO.NET Entity Data Model, and in the next wizard window, select Code First from Database.

    
17.08.2017 / 14:14