efcoretsgen 1.8.0

dotnet tool install --global efcoretsgen --version 1.8.0
                    
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 efcoretsgen --version 1.8.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=efcoretsgen&version=1.8.0
                    
nuke :add-package efcoretsgen --version 1.8.0
                    

EfCoreTsGen

For .net 8 compatibility install v1.8.0 or higher

For .net 7 compatibility install v1.7.0 or higher

For .net 6 compatibility install v1.6.2

Generates typescript classes from Entity Framework scaffolded classes

Install using dotnet CLI:

dotnet tool install -g EfCoreTsGen

Run via powershell or command line: efcoretsgen [PathToConfig.json] Breaking change: You must enter the path to the settings file as a parameter, if it is in the same directory simply run efcoretsgen . Config file must be named efcoretsgen.settings.json

Config:

modelPath: path, relative to config file, that contains EF Core generated model files

excludeStrings: array of strings that if contained in the name of the file, the typescript generator will ignore, use to ignore EF Core generated context files, or models you do not want to include in typescript

outputPath: path relative to the config file to output the generated typescript files

example:

{
    "modelPath":".\\Models",
    "excludeStrings":[
        "Context"
    ],
    "outputPath":"..\\FrontEnd\\src\\models"
}
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.8.0 1,828 2/27/2024
1.7.1 3,445 1/25/2023
1.7.0 1,006 1/24/2023
1.6.3 1,835 10/17/2022
1.6.2 1,647 6/16/2022
1.6.1 1,246 6/15/2022
1.6.0 1,195 6/15/2022
1.5.0 2,887 3/24/2021
1.4.0 1,236 3/23/2021
1.3.0 1,265 3/22/2021
1.2.0 1,539 12/4/2020
1.1.2 1,421 12/4/2020
1.1.1 1,318 12/4/2020
1.1.0 1,355 12/3/2020
1.0.2 1,270 11/24/2020
1.0.0 1,468 11/23/2020
0.1.0 962 11/23/2020