scaffer 0.2.3

dotnet tool install --global scaffer --version 0.2.3
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local scaffer --version 0.2.3
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=scaffer&version=0.2.3
                    
nuke :add-package scaffer --version 0.2.3
                    

Scaffer

A simple Dapper scaffolding tool. Extracts models from your database and creates simple CRUD operations as extension methods.

Minimal example

The only required argument is the connection string to the database:

scaffer -c "Server=localhost;Database=Project;Trusted_Connection=True;"

This will generate models in the current folder for the Project database on the local SQL Server instance.

For more information, see the documentation on GitHub.

Supported databases

The -g flag supports the following:

  • SQL Server (mssql, or if -g is omitted)
  • PostgreSQL (postgres)

Please let me know if you would like support for other databases.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.2.3 184 10/16/2024
0.2.2 149 10/16/2024
0.2.1 145 10/16/2024