Click or drag to resize

DataObjectControllerGetDataObjectTypeId Method (Int32, SqlConnection, SqlTransaction)

Returns the id of the data object type which a data object is of. 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 GetDataObjectTypeId(
	int dataObjectId,
	SqlConnection dbConnection,
	SqlTransaction dbTransaction
)

Parameters

dataObjectId
Type: SystemInt32
Id of a data object for which the data object type id should be returned.
dbConnection
Type: System.Data.SqlClientSqlConnection
dbTransaction
Type: System.Data.SqlClientSqlTransaction

Return Value

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