| DataObjectTypeControllerGetDataObjectTypeId Method (String, Int32, SqlConnection, SqlTransaction) |
Finds a data object type id by its singular name.
Namespace:
Omada.OE.AppLogic
Assembly:
Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntaxpublic static int GetDataObjectTypeId(
string nameSingular,
int languageId,
SqlConnection dbConnection,
SqlTransaction dbTransaction
)
Parameters
- nameSingular
- Type: SystemString
Case-insensitive
- languageId
- Type: SystemInt32
- dbConnection
- Type: System.Data.SqlClientSqlConnection
- dbTransaction
- Type: System.Data.SqlClientSqlTransaction
Return Value
Type:
Int32
Returns 0 if the object type can't be located.
See Also