DataClassFactoryNewDataClass Method (String, Int32) |
Constructor. Gets a class name and parameters for selecting the item. Use it to load an existing item.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax 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:
IDataClassSee Also