Digitrish.PocoFromDB NuGet Package

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.




Got any Digitrish.PocoFromDB Question?





Info

Version: 1.0.0.3
Author(s): Digitrish Inc. - Francis Marasigan
Last Update: Wednesday, September 25, 2013
.NET Fiddle: Create the first Fiddle
NuGet Url: https://www.nuget.org/packages/Digitrish.PocoFromDB


Install
Install-Package Digitrish.PocoFromDB
dotnet add package Digitrish.PocoFromDB
paket add Digitrish.PocoFromDB
Digitrish.PocoFromDB Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

avg-downloads-per-day

0

days-since-last-release

4075