Apps72.Dev.Data.Generator.Tools
2.7.5
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global Apps72.Dev.Data.Generator.Tools --version 2.7.5
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 Apps72.Dev.Data.Generator.Tools --version 2.7.5
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Apps72.Dev.Data.Generator.Tools&version=2.7.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package Apps72.Dev.Data.Generator.Tools --version 2.7.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
DbCmd is a command line tools to generate entities (class) from existing databases (SQL Server, Oracle or SQLite). This tool is also an assembly usable by your core project to retrieve tables and columns, and to generate C# or TypeScript code.
Installation
dotnet tool install -g Apps72.Dev.Data.Generator.Tools
Update (if already installer)
dotnet tool update -g Apps72.Dev.Data.Generator.Tools
Use Help to display all commands and options.
DbCmd --Help
Example: This command gets all tables/columns and generates an Output.cs file with all equivalent classes.
C:\> DbCmd GenerateEntities -cs="Server=MyServer;Database=Scott;" --provider=SqlServer
SqlDatabase Command Line Tools
Project on https://github.com/Apps72/Dev.Data
Entities generating...
4 entities generated in Entities.cs. 1.22 seconds.
namespace Entities
{
using System;
/// <summary />
public partial class DEPT
{
/// <summary />
public virtual int DEPTNO { get; set; }
/// <summary />
public virtual string DNAME { get; set; }
/// <summary />
public virtual string LOC { get; set; }
}
...
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
.NET Core | netcoreapp2.1 is compatible. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 2.1
- No dependencies.
Version | Downloads | Last updated |
---|---|---|
6.0.2 | 146 | 10/18/2024 |
6.0.1 | 483 | 1/22/2024 |
5.4.3 | 2,544 | 8/3/2021 |
5.0.1 | 1,686 | 1/25/2021 |
4.3.0.1 | 1,720 | 10/8/2020 |
4.3.0 | 1,362 | 10/8/2020 |
4.2.4 | 1,394 | 10/7/2020 |
4.2.3 | 1,363 | 10/7/2020 |
4.1.2 | 1,345 | 9/16/2020 |
4.0.3.1 | 2,026 | 2/6/2020 |
4.0.3 | 1,388 | 2/6/2020 |
3.3.0 | 1,897 | 8/26/2019 |
3.2.0 | 1,582 | 7/30/2019 |
3.1.0 | 1,589 | 7/29/2019 |
2.7.5 | 2,038 | 8/9/2018 |
2.6.0 | 2,065 | 6/14/2018 |