Click or drag to resize

DataObjectControllerGetReferencePropertyValueId Method (Int32, String, Int32, SqlConnection, SqlTransaction)

Note: This API is now obsolete.

Returns the value of a specific reference property on a data object. If more than one value are present the first is returned. If no value are present then 'default' is returned.

Namespace:  Omada.OE.AppLogic
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
[ObsoleteAttribute("Use non-static version. Obsoleted in v14")]
public static int GetReferencePropertyValueId(
	int dataObjectId,
	string property,
	int defaultId,
	SqlConnection dbConnection,
	SqlTransaction dbTransaction
)

Parameters

dataObjectId
Type: SystemInt32
property
Type: SystemString
System name of a reference property present on the data obejct.
defaultId
Type: SystemInt32
dbConnection
Type: System.Data.SqlClientSqlConnection
dbTransaction
Type: System.Data.SqlClientSqlTransaction

Return Value

Type: Int32
See Also