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 " -->Name | Description | |
---|---|---|
CodeGenProject Constructor |
Name | Description | |
---|---|---|
CompanyName | Gets or sets the name of the company. | |
CompanyNamespace | Gets or sets the company namespace. | |
Entities | Gets or sets the entities (classes). | |
OutputDirectory | Gets or sets the output directory. | |
ProjectName | Gets or sets the name of the project. | |
ProjectNamespace | Gets or sets the project namespace. | |
Settings | Gets or sets the settings. | |
TemplateDirectory | Gets or sets the template directory. |
Name | Description | |
---|---|---|
GetControlName | Gets the control name for passed in name | |
GetFileName | Gets the file name for the project | |
LoadFromFile | Loads the project from a file. | |
SaveToFile | Saves the project to a file | |
ValidateProject | Ensures that the project is valid |