Here are the examples of the csharp api class System.Data.Common.DbCommand.CreateParameter(string, object, System.Data.DbType, System.Data.ParameterDirection) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Example
0
1. Example
View licensepublic static DbParameter CreateParameter( this DatabaseCommand databaseCommand, string parameterName, object parameterValue, DbType dbType, ParameterDirection parameterDirection ) { DbParameter parameter = databaseCommand.DbCommand.CreateParameter( parameterName, parameterValue, dbType, parameterDirection ); return parameter; }