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}
         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

Install-Package FM.Data.CodeGenerator -Version
dotnet add package FM.Data.CodeGenerator --version
<PackageReference Include="FM.Data.CodeGenerator" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FM.Data.CodeGenerator --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Intial Release

Version History

Version Downloads Last updated 925 3/23/2013 463 3/23/2013 390 3/23/2013 499 12/17/2012 396 12/17/2012 397 12/16/2012 404 12/16/2012 387 12/15/2012