Click or drag to resize

DataObjectControllerGetParentId Method

Returns the id of the parent data object to a data object. The method doesn't consider the security model. The method doesn't consider whether the data object is marked as deleted.

Namespace:  Omada.OE.AppLogic
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public static int GetParentId(
	int dataObjectId,
	SqlConnection dbConnection,
	SqlTransaction dbTransaction
)

Parameters

dataObjectId
Type: SystemInt32
Id of a data object whose parent id should be returned.
dbConnection
Type: System.Data.SqlClientSqlConnection
dbTransaction
Type: System.Data.SqlClientSqlTransaction

Return Value

Type: Int32
Returns the id of the parent data object. If the specified data object doesn't exist zero is returned.
See Also