The Entry code generator (entry-codegen) is a dotnet tool that generates Angular list and form components from C# configuration. You describe a table or a form once, in a fluent builder next to your domain model; the tool scans that assembly and renders the Angular TypeScript and HTML through Razor templates, as ordinary readable source in your repository. The generated components use @enigmatry/entry-components and @enigmatry/entry-form. The predictable layers are generated, so engineers and coding agents can spend their time on the part that is specific to the business.
The generator is one of the three parts of Entry, the open-source foundation described at https://www.enigmatry.com/en/entry/; the Entry blueprint shows it wired into a complete application.
| Name | Description |
|---|---|
| codegen | Enigmatry Entry Code Generator |
| codegen tool | Enigmatry Entry Code Generator dotnet tool used to generate client side components |
| List | Table component that supports: multiple rows, headers, sorting, paging, sow selection, context menu, etc. |
| Form | Form component that supports: TODO |
dotnet tool install enigmatry.codegeneration.console -g
dotnet tool update enigmatry.codegeneration.console -g
TODO: explain IListComponentConfiguration builder
List configuration is built via ListComponentBuilder api.
| Method | Description |
|---|---|
| HasName() | Define pascal-case component name (e.g. "UserList") |
| BelongsToFeature() | TODO |
| OrderBy() | TODO |
| IncludeUnconfiguredProperties() | TODO |
ListComponentBuilder.Column<TProperty>(Expression<Func<T, TProperty>> propertyExpression) ...
| Method | Description |
|---|---|
| IsSortable(bool) | When true (default value) column is sortable |
| IsVisible(bool) | When true (default value) column is visible, otherwise it becomes hidden but still part of the model |
| WithHeaderName() | TODO |
| WithTranslationId() | TODO |
| WithSortId() | TODO |
| WithFormat() | TODO |
| WithCustomComponent() | TODO |
| WithCustomCssClass() | TODO |
| WithCustomProperties() | TODO |
TODO: explain IFormComponentConfiguration builder
Entry is the open-source foundation Enigmatry builds client systems on. Enigmatry is a software company from Rotterdam, founded in 2006, with teams in Belgrade and Novi Sad.
- How we use Entry for clients: https://www.enigmatry.com/en/entry/
- How we build, with agents under checks: https://www.enigmatry.com/en/how-we-build/
Apache-2.0 © Enigmatry