Apps72.Dev.Data.Generator.Tools
5.4.3
dotnet tool install --global Apps72.Dev.Data.Generator.Tools --version 5.4.3
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local Apps72.Dev.Data.Generator.Tools --version 5.4.3
#tool dotnet:?package=Apps72.Dev.Data.Generator.Tools&version=5.4.3
nuke :add-package Apps72.Dev.Data.Generator.Tools --version 5.4.3
Installation:
dotnet tool install -g Apps72.Dev.Data.Generator.Tools
Example:
This command gets all tables/columns and generates an Entities.cs file with all equivalent classes.
DbCmd GenerateEntities -cs=Server=localhost;Database=Scott; --provider=SqlServer
This command merges all sql files, of the current directory, to a new one.
DbCmd Merge --source=C:\Temp --output=allScripts.sql
This command executes all sql files, of the current directory, to this SQL Server.
DbCmd Run --source=C:\Temp -cs=Server=localhost;Database=Scott;
With Run command, use
--DbConfigAfter
and--DbConfigUpdate
to set SQL queries to select and to update a database field with the name of the last executed script. Only next scripts will be read and executed.
More details:
Use DbCmd --Help
to display all commands and options.
Go to https://apps72.com for the documentation.
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
5.4.3 | 473 | 8/3/2021 |
5.0.1 | 523 | 1/25/2021 |
4.3.0.1 | 470 | 10/8/2020 |
4.3.0 | 234 | 10/8/2020 |
4.2.4 | 272 | 10/7/2020 |
4.2.3 | 249 | 10/7/2020 |
4.1.2 | 357 | 9/16/2020 |
4.0.3.1 | 876 | 2/6/2020 |
4.0.3 | 324 | 2/6/2020 |
3.3.0 | 713 | 8/26/2019 |
3.2.0 | 456 | 7/30/2019 |
3.1.0 | 383 | 7/29/2019 |
2.7.5 | 758 | 8/9/2018 |
2.6.0 | 794 | 6/14/2018 |