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

The Project Properties allows access to values entered into the Project Information screen such as the CompanyName, CompanyNamespace, ProjectName, and ProjectNamespace.

 

Example usage:

Company Name: <#= proj.CompanyName #>
Project Namespace: <#= proj.ProjectNamespace #>

 

 

The following tables list the members exposed by CodeGenProject.

Public Constructors
Top
" -->
Public Constructors
  Name Description
Public 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 Gets or sets the name of the company.  
Public Property Gets or sets the company namespace.  
Public Property Gets or sets the entities (classes).  
Public Property Gets or sets the output directory.  
Public Property Gets or sets the name of the project.  
Public Property Gets or sets the project namespace.  
Public Property Gets or sets the settings.  
Public Property Gets or sets the template directory.  
Top
Protected Properties
Top
" -->Private Properties
Top
" -->Public Methods
Top
" -->
Public Methods
  Name Description
Public Method Gets the control name for passed in name  
Public Method Gets the file name for the project  
Public Methodstatic (Shared in Visual Basic) Loads the project from a file.  
Public Method Saves the project to a file  
Public Methodstatic (Shared in Visual Basic) Ensures that the project is valid