NET Code Generator
Entity Properties
Basic Tasks > Creating New Templates > Entity Properties

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
Top
" -->
Public Constructors
  Name Description
Public Constructor Default constructor  
Top
Protected Constructors
Top
" -->Private Constructors
Top
" -->Public Fields
Top
" -->Protected Fields
Top
" -->Private Fields
Top
" -->Public Properties
Top
" -->
Public Properties
  Name Description
Public Property Get the name with spaces inserted  
Public Property The name of the class or entity  
Public Property Get the name of the class or entity in camel case format  
Public Property Get the name of the class or entity in camel case format in plural form  
Public Property Get the name of the class or entity in camel case format in singular form  
Public Property Get the name of the class or entity in all lower case with dashes  
Public Property Get the name of the class or entity in all lower case  
Public Property Get the name of the class or entity in pascal case format  
Public Property Get the name of the class or entity in pascal case in plural form  
Public Property Get the name of the class or entity in pascal case format in singular  
Public Property Get the name of the class or entity in all upper case with underscores  
Public Property Get the name of the class or entity in all lower case with underscores  
Public Property Get the primary key for the entity based on convention  
Public Property The project for the entity  
Public Property A list of properties for the class or entity  
Public Property A name for a table based on the table naming convention