Gets the automatically generated
IDbCommand object to insert new record.
Namespace: NReco.DataAssembly: NReco.Data (in NReco.Data.dll) Version: 1.0.2
public virtual IDbCommand GetInsertCommand(
string tableName,
IEnumerable<KeyValuePair<string, IQueryValue>> data
)
public virtual IDbCommand GetInsertCommand(
string tableName,
IEnumerable<KeyValuePair<string, IQueryValue>> data
)
Public Overridable Function GetInsertCommand (
tableName As String,
data As IEnumerable(Of KeyValuePair(Of String, IQueryValue))
) As IDbCommand
Public Overridable Function GetInsertCommand (
tableName As String,
data As IEnumerable(Of KeyValuePair(Of String, IQueryValue))
) As IDbCommand
public:
virtual IDbCommand^ GetInsertCommand(
String^ tableName,
IEnumerable<KeyValuePair<String^, IQueryValue^>>^ data
)
public:
virtual IDbCommand^ GetInsertCommand(
String^ tableName,
IEnumerable<KeyValuePair<String^, IQueryValue^>>^ data
)
abstract GetInsertCommand :
tableName : string *
data : IEnumerable<KeyValuePair<string, IQueryValue>> -> IDbCommand
override GetInsertCommand :
tableName : string *
data : IEnumerable<KeyValuePair<string, IQueryValue>> -> IDbCommand
abstract GetInsertCommand :
tableName : string *
data : IEnumerable<KeyValuePair<string, IQueryValue>> -> IDbCommand
override GetInsertCommand :
tableName : string *
data : IEnumerable<KeyValuePair<string, IQueryValue>> -> IDbCommand
Return Value
Type:
IDbCommandinsert SQL command
Implements
IDbCommandBuilder GetInsertCommand(String, IEnumerable KeyValuePair String, IQueryValue )