ModelsToTypescript 1.1.5
dotnet add package ModelsToTypescript --version 1.1.5
NuGet\Install-Package ModelsToTypescript -Version 1.1.5
<PackageReference Include="ModelsToTypescript" Version="1.1.5" />
paket add ModelsToTypescript --version 1.1.5
#r "nuget: ModelsToTypescript, 1.1.5"
// Install ModelsToTypescript as a Cake Addin #addin nuget:?package=ModelsToTypescript&version=1.1.5 // Install ModelsToTypescript as a Cake Tool #tool nuget:?package=ModelsToTypescript&version=1.1.5
Builds TypeScripts DataModels which map to EF code-first data models. Just point the application at your namespace, and it generates them all.
It omits KeyAttribute and Timestamp properties from the class, but keeps them so you can call toJS or update(data) to update your model with the server.
Installs 1 file /Scripts/DataModels.tt to your project.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Allow for Dynamic Assessment of Key Fields.
Fixed some issues with Generic Type Handling
Updated Script to use StringBuilder