ModelsToTypescript 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.
Install-Package ModelsToTypescript -Version 1.1.5
dotnet add package ModelsToTypescript --version 1.1.5
<PackageReference Include="ModelsToTypescript" Version="1.1.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ModelsToTypescript --version 1.1.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ModelsToTypescript, 1.1.5"
For F# scripts that support #r syntax, copy this into the source code to reference the package.
Release Notes
Allow for Dynamic Assessment of Key Fields.
Fixed some issues with Generic Type Handling
Updated Script to use StringBuilder
Dependencies
This package has no dependencies.
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.