Click or drag to resize

DataObjectControllerGetDataObjectsReferringDataObject Method (Int32, Int32, Int32, Boolean, SqlConnection, SqlTransaction)

Returns the ids of the data objects that refers the indicated data object through a reference property.

Namespace:  Omada.OE.AppLogic
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public static IntegerList GetDataObjectsReferringDataObject(
	int referredDataObjectId,
	int referringDataObjectTypeId,
	int referencePropertyId,
	bool lookInOldVersions,
	SqlConnection dbConnection,
	SqlTransaction dbTransaction
)

Parameters

referredDataObjectId
Type: SystemInt32
Id of the data object, for which we want to find other data objects that have a reference to it.
referringDataObjectTypeId
Type: SystemInt32
Only the ids of the data objects of this type will be returned, if != 0, otherwise all dataobjects will be returned.
referencePropertyId
Type: SystemInt32
Only the ids of the data objects referred through this reference property will be returned, if != 0.
lookInOldVersions
Type: SystemBoolean
If true the search wil look in all versions of the referring dataobjects.
dbConnection
Type: System.Data.SqlClientSqlConnection
dbTransaction
Type: System.Data.SqlClientSqlTransaction

Return Value

Type: IntegerList
See Also