CargoWiseReplicationAPITableGenerator 1.0.1
dotnet tool install --global CargoWiseReplicationAPITableGenerator --version 1.0.1
dotnet new tool-manifest
dotnet tool install --local CargoWiseReplicationAPITableGenerator --version 1.0.1
#tool dotnet:?package=CargoWiseReplicationAPITableGenerator&version=1.0.1
nuke :add-package CargoWiseReplicationAPITableGenerator --version 1.0.1
<p align="center"> <img src="https://github.com/user-attachments/assets/47207406-db16-4703-82a1-f3cab59da1f9" width="200" height="200" /> </p>
CargoWise Replication API Table Generator
This is a little tool to generate different data models from the CargoWise replication API responses. Its really so that you dont have to manually write the definition each time. This can also be used with my Replication API Toolset for making data models.
It is packaged on the NuGet Package Manager as a dotnet tool, so you can install it by writing dotnet tool install CargoWiseReplicationAPITableGenerator into a terminal.
You can then use the tool by writing cwreplicationapitablegen in a terminal.
There are two generators right now, one for C# and one for TSQL. You use them as follows:
cwreplicationapitablegen csharp -i input.json -n some_namespace -o ./
cwreplicationapitablegen tsql -i input.json -s dbo -o ./
The input.json file must be the direct result from querying a replication APIs https://.../Services/api/replication/change-detail endpoint!
The output file will be called whatever the input files table name is.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
This package has no dependencies.