System.Data.Common.DbCommand.AddParameter(string, object, System.Data.DbType)

Here are the examples of the csharp api class System.Data.Common.DbCommand.AddParameter(string, object, System.Data.DbType) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

2 Examples 7

1. Example

View license
public static DatabaseCommand AddParameter( this DatabaseCommand databaseCommand, string parameterName, object parameterValue, DbType dbType )
        {
            databaseCommand.DbCommand.AddParameter( parameterName, parameterValue, dbType );

            return databaseCommand;
        }

2. Example

View license
public static DbCommand AddParameters<T>( this DbCommand dbCommand, string parameterName, List/n ..... /n //View Source file for more details /n }