Sign in Sign up
nuget

FM.Data.CodeGenerator

This is a Scaffold extension to generate POCO class, Mapping class, Repository pattern class and DbContext. Very helpful in database-first approach without needing .edmx. Usage: On Package Manager Console type the following command: Scaffold PocoFromDB {your-connection-string} {contextName} {table name or your select query} {entityname} {providerName} Ex: Scaffold PocoFromDB "Data Source=C:\DB\Foo.sdf" FooContext Customer CustomerEntity "System.Data.SqlServerCe.4.0" Scaffold PocoFromDB "Data Source=C:\DB\Foo.sdf" FooContext "SELECT FirstName, LastName FROM Customer" CustomerEntity "System.Data.SqlServerCe.4.0" Special Note: If your connection string contains special character/reserve for PowerShell such as '$', you need escape it with '`' character. Example: pa$$word01 will be pa`$`$word01

nuget View on Nuget

Activity

Latest release
13y ago
Total releases
8
Cadence
~daily
Last 12 months
0

Details

First release
Dec 15, 2012
Releases
Version Released
1.0.0.9 patch
1.0.0.8 patch
1.0.0.7 patch
1.0.0.6 patch
1.0.0.5 patch
1.0.0.4 patch
1.0.0.3 patch
1.0.0.1 initial