DataAccessBase.UpdateEntity

This version of UpdateEntity allows you to specify which fields to update and so is a bit more efficient as it only checks for specific fields in the database and the underlying table.

public virtual bool UpdateEntity(object entity,
	string table,
	string keyField,
	string propertiesToSkip,
	string fieldsToUpdate)

Parameters

entity
Entity to update

table
DB Table to udpate

keyField
The keyfield to query on

propertiesToSkip
fields to skip in update

fieldsToUpdate
fields that should be updated

Overloads:


See also:

Class DataAccessBase

© West Wind Technologies, 1996-2023 • Updated: 07/15/20
Comment or report problem with topic