Click or drag to resize

DataObjectTypeGetNewDataObject Method (Int32)

Creates a new data object of the specified data object type.

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
public virtual DataObject GetNewDataObject(
	int parentId
)

Parameters

parentId
Type: SystemInt32
Specifies the id of the data object parent which the new data object will be placed below. If specified as 0 the new data object will be placed below the default parent, specified on the data object type. A specified parentId is *not* used if the data object type is User or UserGroup.

Return Value

Type: DataObject
See Also