4 types derived from DbParameter
System.Data.Odbc (2)
System\Data\Odbc\OdbcParameter.cs (1)
15public sealed partial class OdbcParameter : DbParameter, ICloneable, IDataParameter, IDbDataParameter
System\Data\Odbc\OdbcParameterHelper.cs (1)
9public sealed partial class OdbcParameter : DbParameter
System.Data.OleDb (2)
artifacts\obj\System.Data.OleDb\Debug\net10.0\System.Data.OleDb.Manual.notsupported.cs (1)
10public sealed partial class OleDbParameter : System.Data.Common.DbParameter, System.Data.IDataParameter, System.Data.IDbDataParameter, System.ICloneable
artifacts\obj\System.Data.OleDb\Debug\net10.0\System.Data.OleDb.notsupported.cs (1)
342public sealed partial class OleDbParameter : System.Data.Common.DbParameter, System.Data.IDataParameter, System.Data.IDbDataParameter, System.ICloneable
38 references to DbParameter
netstandard (1)
netstandard.cs (1)
467[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.Common.DbParameter))]
System.Data (1)
src\libraries\shims\System.Data\ref\System.Data.cs (1)
41[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Data.Common.DbParameter))]
System.Data.Common (21)
System\Data\Common\DbBatchCommand.cs (1)
21public virtual DbParameter CreateParameter()
System\Data\Common\DbCommand.cs (2)
101public DbParameter CreateParameter() => CreateDbParameter(); 105protected abstract DbParameter CreateDbParameter();
System\Data\Common\DBCommandBuilder.cs (5)
1133DbParameter p = GetNextParameter(command, parameterCount); 1186DbParameter p = GetNextParameter(command, parameterCount); 1388private static DbParameter GetNextParameter(DbCommand command, int pcount) 1390DbParameter p; 1636protected abstract void ApplyParameterInfo(DbParameter parameter, DataRow row, StatementType statementType, bool whereClause);
System\Data\Common\DbDataAdapter.cs (2)
772DbParameter? dbparameter = (parameter as DbParameter);
System\Data\Common\DbDataSource.cs (1)
270protected override DbParameter CreateDbParameter()
System\Data\Common\DbParameterCollection.cs (9)
41set { SetParameter(index, (DbParameter)value!); } 47set { SetParameter(parameterName, (DbParameter)value!); } 50public DbParameter this[int index] 56public DbParameter this[string parameterName] 58get { return GetParameter(parameterName) as DbParameter; } 101protected abstract DbParameter GetParameter(int index); 103protected abstract DbParameter GetParameter(string parameterName); 152protected abstract void SetParameter(int index, DbParameter value); 154protected abstract void SetParameter(string parameterName, DbParameter value);
System\Data\Common\DbProviderFactory.cs (1)
66public virtual DbParameter? CreateParameter() => null;
System.Data.Odbc (8)
src\libraries\Common\src\System\Data\ProviderBase\DbMetaDataFactory.cs (1)
132DbParameter restrictionParameter = command.CreateParameter();
System\Data\Odbc\OdbcCommand.cs (1)
534protected override DbParameter CreateDbParameter()
System\Data\Odbc\OdbcCommandBuilder.cs (1)
80protected override void ApplyParameterInfo(DbParameter parameter, DataRow datarow, StatementType statementType, bool whereClause)
System\Data\Odbc\OdbcFactory.cs (1)
41public override DbParameter CreateParameter()
System\Data\Odbc\OdbcParameterCollectionHelper.cs (4)
137protected override DbParameter GetParameter(int index) 143protected override DbParameter GetParameter(string parameterName) 275protected override void SetParameter(int index, DbParameter value) 282protected override void SetParameter(string parameterName, DbParameter value)
System.Data.OleDb (7)
artifacts\obj\System.Data.OleDb\Debug\net10.0\System.Data.OleDb.notsupported.cs (7)
46protected override System.Data.Common.DbParameter CreateDbParameter() { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); } 66protected override void ApplyParameterInfo(System.Data.Common.DbParameter parameter, System.Data.DataRow datarow, System.Data.StatementType statementType, bool whereClause) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); } 277public override System.Data.Common.DbParameter CreateParameter() { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); } 412protected override System.Data.Common.DbParameter GetParameter(int index) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); } 413protected override System.Data.Common.DbParameter GetParameter(string parameterName) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); } 423protected override void SetParameter(int index, System.Data.Common.DbParameter value) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); } 424protected override void SetParameter(string parameterName, System.Data.Common.DbParameter value) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_OleDb); }