Click or drag to resize
IContentItemCodeFileGeneratorGenerateFiles Method (DataClassInfo, String)
Creates classes for the specified data classes and saves them to files within the specified folder using naming conventions.

Namespace: CMS.FormEngine
Assembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 9.0.0
Syntax
C#
void GenerateFiles(
	DataClassInfo dataClass,
	string baseFolderPath
)

Parameters

dataClass
Type: CMS.DataEngineDataClassInfo
An enumerable collection of data class for which code files should be created.
baseFolderPath
Type: SystemString
A path to the folder where code files should be created using naming conventions.
Exceptions
ExceptionCondition
ArgumentNullExceptionA collection of data classes or folder path is null.
See Also