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
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package scaffer --version 0.2.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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-gis omitted) - PostgreSQL (
postgres)
Please let me know if you would like support for other databases.
| Product | Versions 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.