System.Data.Common.DbCommand.CreateParameter(string, object, System.Data.DbType, System.Data.ParameterDirection)

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 7

1. Example

View license
public 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;
        }