DataAccessBase.InsertEntity

Inserts an object into the database based on its type information. The properties must match the database structure and you can skip over fields in the propertiesToSkip list.

public object InsertEntity(object entity,
	string table,
	string propertiesToSkip,
	bool returnIdentityKey)

Return Value

Scope Identity or Null (when returnIdentityKey is true Otherwise affected records

Parameters

entity

table

propertiesToSkip

returnIdentityKey


See also:

Class DataAccessBase

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