| ControllerBaseValidateDataVersionT Method |
Validates that the data version of an object corresponds to the data version in the DB.
Method is used for validation before saving an object.
Namespace:
Omada.OE.AppLogic
Assembly:
Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntaxprotected void ValidateDataVersion<T>(
T obj,
string tableName
)
where T : IObjectWithDataVersion, IObjectWithId
Parameters
- obj
- Type: T
- tableName
- Type: SystemString
Name of the DB table that the object resides in.
Type Parameters
- T
See Also