Click or drag to resize
DataClassFactoryNewDataClass Method (String, Int32)
Constructor. Gets a class name and parameters for selecting the item. Use it to load an existing item.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax
C#
public static IDataClass NewDataClass(
	string className,
	int primaryKeyValue
)

Parameters

className
Type: SystemString
Class name in format application.class
primaryKeyValue
Type: SystemInt32
Primary key value

Return Value

Type: IDataClass
See Also