| DataObjectTypeControllerLoadDataObjectType Method (Int32, Boolean, Boolean, Boolean) |
Loads an DataObjectType by its id.
Namespace:
Omada.OE.AppLogic
Assembly:
Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntaxpublic DataObjectType LoadDataObjectType(
int id,
bool throwIfNotFound,
bool skipCheckForChanges = false,
bool promiseNoModify = false
)
Parameters
- id
- Type: SystemInt32
- throwIfNotFound
- Type: SystemBoolean
- skipCheckForChanges (Optional)
- Type: SystemBoolean
If true we will return a cached data object type without checking if it is still current - that is, if it has been modified after it was cached.
This can be ok in certain situations where we want to save the cost of determining if the cached object has been modified.
- promiseNoModify (Optional)
- Type: SystemBoolean
If true the caller promises to not modify the returned data.
Return Value
Type:
DataObjectType
See Also