dotnet-codegencs
1.0.0
See the version list below for details.
dotnet tool install --global dotnet-codegencs --version 1.0.0
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local dotnet-codegencs --version 1.0.0
#tool dotnet:?package=dotnet-codegencs&version=1.0.0
nuke :add-package dotnet-codegencs --version 1.0.0
CodegenCS
DbSchema Extractor
This is a command-line tool which extracts the schema of a MSSQL or PostgreSQL database and save it in a JSON file.
Sample usage:
codegencs dbschema-extractor /postgresql /cn="Host=localhost; Database=Adventureworks; Username=postgres; Password=MyPassword" /output=AdventureWorks.json
codegencs dbschema-extractor /mssql /cn="Server=MYSERVER; Database=AdventureWorks; User Id=myUsername;Password=MyPassword" /output=AdventureWorks.json
codegencs dbschema-extractor /mssql /cn="Server=MYSERVER; Database=AdventureWorks; Integrated Security=True" /output=AdventureWorks.json
Simple POCO Generator
This is a template that generates POCO classes from a JSON schema extracted with dbschema-extractor.
Sample usage:
codegencs poco /input=AdventureWorks.json /targetFolder=OutputFolder /namespace=MyProject.POCOs
Entity Framework Core Generator
This is a template that generates EntityFrameworkCore Entities and DbContext from a JSON schema extracted with dbschema-extractor.
Sample usage:
CodegenCSEFCore.exe /input=AdventureWorks.json /targetFolder=OutputFolder /namespace=MyProject.POCOs /dbcontextname=AdventureWorksDbContext
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. 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. |
This package has no dependencies.
Version | Downloads | Last updated | |
---|---|---|---|
3.5.0 | 870 | 6/23/2024 | |
3.4.1 | 297 | 5/20/2024 | |
3.4.0 | 306 | 4/15/2024 | |
3.1.5 | 574 | 5/29/2023 | |
3.1.4 | 328 | 4/16/2023 | |
3.1.3 | 1,631 | 12/29/2022 | |
3.1.2 | 381 | 12/18/2022 | |
3.0.0 | 472 | 11/5/2022 | |
2.1.1 | 535 | 9/26/2022 | |
2.1.0 | 534 | 9/19/2022 | |
2.0.0 | 454 | 8/29/2022 | |
1.2.0 | 493 | 8/1/2022 | |
1.1.2 | 537 | 3/13/2022 | |
1.1.1 | 384 | 10/30/2021 | |
1.0.5 | 488 | 8/2/2021 | |
1.0.4 | 534 | 8/1/2021 | |
1.0.3 | 455 | 7/26/2021 | |
1.0.2 | 378 | 7/20/2021 | |
1.0.1 | 435 | 7/18/2021 | |
1.0.0 | 611 | 7/6/2021 |