Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Entity Model Generator for Visual Studio 2017-19
Entity Model Generator for Visual Studio 2017-19

Entity Model Generator for Visual Studio 2017-19

Vimlesh Rivonkar

|
6,370 installs
| (5) | Free
Generates Entity Framework model and EntityTypeConfiguration in code first approch for Visual Studio 2017-19
Download

This extension will work in c# projects only. After installing the extension, two menus will be available on the short cut menu of project or any folder in the project as shown below.

image.png

Add New Entity Model... This is used to generate POCO classes On Clicking the menu "Add New Entity Model..." below dialog will open.

image__1.png

Here it is required to create the connection then it will fill the database objects. The check box provided on the database objects will select them for adding it to the project.

Add EF Configuration Class… This is used to generate EntityTypeConfiguration classes On Clicking the menu "Add EF Configuration Class..." below dialog will open.

image__2.png

Here it is required to create the connection then it will fill the database objects. The check box provided on the database objects will select them for adding it to the project.

Added new properties Enable HasColumn and Enable ToTable shown below image__3.png

Added new property a Using List which can be used for adding user defined using references. image__5.png

Extended Property feature added for Model creation as well as configuration as shown below. This feature enables to handle old styled table names with EF naming structure without actually changing the names of tables. This becomes very much useful in case one wants to create a new UI or web service for existing SQL database without altering existing functionality.

image__6.png

image__7.png

This is the name of extended property from SQL table as shown below

image__8.png

This property can be selected from the dropdown list as shown below.

image__9.png

image__10.png

From the below images it is seen that after setting this property to EntityName, the name of the table is displayed as AdminUser which was set as the value for that property in SQL as shown above.

image__11.png

Below is the image showing the actual table name.

image__12.png

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft