Click or drag to resize

DaoBaseUpdateExisting Method (IEntityFields, ITransaction)

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.10.0.0 (5.10.0)
Syntax
public bool UpdateExisting(
	IEntityFields fields,
	ITransaction containingTransaction
)

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.

Return Value

Type: Boolean
true if the update was succesful, false otherwise

Implements

IDaoUpdateExisting(IEntityFields, ITransaction)
Exceptions
ExceptionCondition
ArgumentNullExceptionWhen fields is null
See Also