Click or drag to resize

DataObjectControllerGetDisplayName Method (Int32, Boolean)

Returns the display name of a data object. Obtaining the DisplayName using this method consumes less resources than loading the entire data object. 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 string GetDisplayName(
	int id,
	bool overrideSecurity
)

Parameters

id
Type: SystemInt32
The id of the data object for which the DisplayName should be returned.
overrideSecurity
Type: SystemBoolean
The method considers the security model if set to false

Return Value

Type: String
Returns the DisplayName of the specified data object. If the specified data object doesn't exist an empty string is returned.
See Also