FM.Data.CodeGenerator
1.0.0.6
See the version list below for details.
dotnet add package FM.Data.CodeGenerator --version 1.0.0.6
NuGet\Install-Package FM.Data.CodeGenerator -Version 1.0.0.6
<PackageReference Include="FM.Data.CodeGenerator" Version="1.0.0.6" />
paket add FM.Data.CodeGenerator --version 1.0.0.6
#r "nuget: FM.Data.CodeGenerator, 1.0.0.6"
// Install FM.Data.CodeGenerator as a Cake Addin #addin nuget:?package=FM.Data.CodeGenerator&version=1.0.0.6 // Install FM.Data.CodeGenerator as a Cake Tool #tool nuget:?package=FM.Data.CodeGenerator&version=1.0.0.6
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"
Learn more about Target Frameworks and .NET Standard.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Intial Release