Click or drag to resize
CodeGeneratorBaseSaveCode Method

Saves the generated code of dataClasses to a directory identified by path. Shows a message and logs to event log in case of an error.

Does nothing on a precompiled website.

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 11.0.0
Syntax
C#
protected void SaveCode(
	string path,
	IEnumerable<DataClassInfo> dataClasses
)

Parameters

path
Type: SystemString
Directory where the code files are to be saved.
dataClasses
Type: System.Collections.GenericIEnumerableDataClassInfo
Enumeration od data classes for which to generate code files.
See Also