DataAccessBase.GetInsertEntityCommand

Gets the DbCommand used to insert 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 DbCommand GetInsertEntityCommand(object entity,
	string table,
	string propertiesToSkip)

Return Value

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

Parameters

entity

table

propertiesToSkip


See also:

Class DataAccessBase

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