DataAccessBase.UpdateEntity

Updates an entity object that has matching fields in the database for each public property. Kind of a poor man's quick entity update mechanism.

Note this method will not save if the record doesn't already exist in the db.

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

Parameters

entity
entity to update

table
the table name to update

keyField
keyfield used to find entity

fieldsToSkip

Overloads:


See also:

Class DataAccessBase

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic