| DataObjectControllerUpdateCurrentVersion Method (Int32, DictionaryInt32, Object, Boolean) |
Updates the current version of a data object (that is, without creating a new version) with new property values.
Namespace:
Omada.OE.AppLogic
Assembly:
Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntaxpublic virtual void UpdateCurrentVersion(
int dataObjectId,
Dictionary<int, Object> propertyValues,
bool useInClauseForDeletingPropertyValues = false
)
Parameters
- dataObjectId
- Type: SystemInt32
- propertyValues
- Type: System.Collections.GenericDictionaryInt32, Object
Keys are property ids.
The data types of the values in the dictionary depend on the type and datatype of the properties.
Can be either: string, int, datetime, double, bool, timespan, List[int] or null.
- useInClauseForDeletingPropertyValues (Optional)
- Type: SystemBoolean
Use an IN clause when deleting values for the properties that we've got new values for.
See Also