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 propertiesToSkip)

Parameters

entity
entity to update

table
the table name to update

keyField
keyfield used to find entity

propertiesToSkip

Overloads:


See also:

Class DataAccessBase

© West Wind Technologies, 2019 • Updated: 06/23/19
Comment or report problem with topic