IDictionary settings |
IDictionary settings |
By default, .Net doesn't have any batching capabilities, drivers that does have batching support need to override this method and return their own batcher.
return IBatcher |
|
ConnectionManager connectionManager |
return IDbCommand |
return IDbConnection |
return bool |
|
object obj |
For SqlServerConnectionProvider it will changeid
to@id
return string |
A parameter formatted for an IDbParameter. |
string parameterName |
The unformatted name of the parameter |
return string |
A parameter formatted for an IDbCommand.CommandText |
string parameterName |
The unformatted name of the parameter |
return IDbCommand |
|
CommandType type |
|
SqlString sqlString |
|
SqlType[] parameterTypes |
return IDbDataParameter |
|
IDbCommand command |
return int |
return Type |
IDbCommand command |
return string |
Sql Server uses"@"
and Oracle uses":"
.
return string
|
return bool
|
return bool
|
This is really only useful when the UseNamedPrefixInSql == true. When this is true the code will look like:IDbParameter param = cmd.Parameters["@paramName"]
if this is false the code will beIDbParameter param = cmd.Parameters["paramName"]
.
return bool
|
For example, SqlClient requiresselect * from simple where simple_id = @simple_id
If this is false, like with the OleDb provider, then it is assumed that the?
can be a placeholder for the parameter in the SQL statement.
return bool
|