DaoBaseUpdateExisting Method (IEntityFields, ITransaction, IPredicate) |
Updates an existing entity using the given fields.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax public bool UpdateExisting(
IEntityFields fields,
ITransaction containingTransaction,
IPredicate updateRestriction
)
Public Function UpdateExisting (
fields As IEntityFields,
containingTransaction As ITransaction,
updateRestriction As IPredicate
) As Boolean
Parameters
- fields
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityFields
The EntityField data to use for the update - containingTransaction
- Type: SD.LLBLGen.Pro.ORMSupportClassesITransaction
A containing transaction, if caller is added to a transaction, or null if not. - updateRestriction
- Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicate
Predicate expression, meant for concurrency checks in an Update query
Return Value
Type:
Booleantrue if the update was succesful, false otherwise
Implements
IDaoUpdateExisting(IEntityFields, ITransaction, IPredicate)Exceptions See Also