DataAccessBase.SaveEntity

Saves an enity into the database using insert or update as required. Requires a keyfield that exists on both the entity and the database.

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

Parameters

entity
entity to save

table
table to save to

keyField
keyfield to update

propertiesToSkip
optional fields to skip when updating (keys related items etc)


See also:

Class DataAccessBase

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