Below are the properties available at the Entity or Class level.
Example:
Entity Name: <#= entity.Name #>
Entity Description: <#= entity.Name #>
Entity Table Name: <#= entity.TableName #>
The following tables list the members exposed by CodeGenEntity.
Public Constructors " -->Name | Description | |
---|---|---|
CodeGenEntity Constructor | Default constructor |
Name | Description | |
---|---|---|
Description | Get the name with spaces inserted | |
Name | The name of the class or entity | |
NameCamelCase | Get the name of the class or entity in camel case format | |
NameCamelCasePlural | Get the name of the class or entity in camel case format in plural form | |
NameCamelCaseSingular | Get the name of the class or entity in camel case format in singular form | |
NameKebabLower | Get the name of the class or entity in all lower case with dashes | |
NameLower | Get the name of the class or entity in all lower case | |
NamePascalCase | Get the name of the class or entity in pascal case format | |
NamePascalCasePlural | Get the name of the class or entity in pascal case in plural form | |
NamePascalCaseSingular | Get the name of the class or entity in pascal case format in singular | |
NameScreamingSnake | Get the name of the class or entity in all upper case with underscores | |
NameSnake | Get the name of the class or entity in all lower case with underscores | |
PrimaryKey | Get the primary key for the entity based on convention | |
Project | The project for the entity | |
Properties | A list of properties for the class or entity | |
TableName | A name for a table based on the table naming convention |