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 abstract DbCommand GetInsertEntityCommand(object entity, string table, string propertiesToSkip)
Parameters
entity
Entity object to use for Insert
table
Table name to insert to
propertiesToSkip
Comma delimited list of fields not to include in insert statement
