DbCommandBuilder GetInsertCommand Method NReco.Data Class Library Documentation
Gets the automatically generated IDbCommand object to insert new record.

Namespace: NReco.Data
Assembly: NReco.Data (in NReco.Data.dll) Version: 1.0.2
Syntax

public virtual IDbCommand GetInsertCommand(
	string tableName,
	IEnumerable<KeyValuePair<string, IQueryValue>> data
)

Parameters

tableName
Type: System String
table name
data
Type: System.Collections.Generic IEnumerable KeyValuePair String, IQueryValue  
new record data

Return Value

Type: IDbCommand
insert SQL command

Implements

IDbCommandBuilder GetInsertCommand(String, IEnumerable KeyValuePair String, IQueryValue  )
See Also