IContentItemCodeFileGeneratorGenerateFiles Method (IEnumerableDataClassInfo, String) |
Creates classes for the specified data class and saves them to files within the specified folder using naming conventions.
Code files are created only for supported data classes, i.e. page types, products, custom tables and forms.
Namespace: CMS.FormEngineAssembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 13.0.131
Syntax void GenerateFiles(
IEnumerable<DataClassInfo> dataClasses,
string baseFolderPath
)
Parameters
- dataClasses
- Type: System.Collections.GenericIEnumerableDataClassInfo
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 Exception | Condition |
---|
ArgumentNullException | Data class or folder path is null. |
See Also