Set of *.exe files to generate EF6 views. Inspired by this Visual Studio extension.
- Entity Framework 6 (other versions are not supported)
- User defined
DbContext
should have public modifier
dllFile
- path to a dll with user-definedDbContext
contextName
- name of the user defined contextoutputPath
- folder where to store generated viewsconfigFile
- path to a config file (optional)connectionStringName
- name of the connection string from config file (optional)
.\EF6.Views.Generator.NET472.exe dllFile DAL.dll contextName CustomContext outputPath .\Views
or
.\EF6.Views.Generator.NET472.exe dllFile DAL.dll contextName CustomContext outputPath .\Views configFile ..\..\Web.config connectionStringName Test
.\EF6.Views.Generator.NET6.exe dllFile DAL.dll contextName CustomContext outputPath .\Views
or
.\EF6.Views.Generator.NET6.exe dllFile DAL.dll contextName CustomContext outputPath .\Views configFile ..\..\appsettings.json connectionStringName Test
- Custom data providers (for ex. Npgsql) are not supported