6 types derived from DbParameter
System.Data (4)
fx\src\data\System\Data\Odbc\OdbcParameter.cs (1)
27
public sealed partial class OdbcParameter :
DbParameter
, ICloneable, IDbDataParameter {
fx\src\data\System\Data\OleDb\OleDbParameter.cs (1)
22
public sealed partial class OleDbParameter :
DbParameter
, ICloneable, IDbDataParameter {
fx\src\Data\System\Data\ProviderBase\DbParameterHelper.cs (1)
16
public sealed partial class PARAMETEROBJECTNAME :
DbParameter
{ // V1.2.3300
fx\src\data\System\Data\SqlClient\SqlParameter.cs (1)
60
public sealed partial class SqlParameter :
DbParameter
, IDbDataParameter, ICloneable {
System.Data.Entity (2)
System\Data\EntityClient\DbParameterHelper.cs (1)
19
public sealed partial class EntityParameter :
DbParameter
{
System\Data\EntityClient\EntityParameter.cs (1)
21
public sealed partial class EntityParameter :
DbParameter
, IDbDataParameter
101 references to DbParameter
System.Data (34)
fx\src\data\System\Data\Common\DBCommand.cs (2)
174
public
DbParameter
CreateParameter(){ // V1.2.3300
182
abstract protected
DbParameter
CreateDbParameter();
fx\src\data\System\Data\Common\DBCommandBuilder.cs (5)
1020
DbParameter
p = GetNextParameter(command, parameterCount);
1067
DbParameter
p = GetNextParameter(command, parameterCount);
1239
static private
DbParameter
GetNextParameter(DbCommand command, int pcount) {
1240
DbParameter
p;
1460
abstract protected void ApplyParameterInfo(
DbParameter
parameter, DataRow row, StatementType statementType, bool whereClause); // V1.2.3300
fx\src\data\System\Data\Common\DbDataAdapter.cs (2)
647
DbParameter
dbparameter = (parameter as
DbParameter
);
fx\src\data\System\Data\Common\DbParameterCollection.cs (9)
70
SetParameter(index, (
DbParameter
)value);
79
SetParameter(parameterName, (
DbParameter
)value);
83
public
DbParameter
this[int index] {
92
public
DbParameter
this[string parameterName] {
94
return GetParameter(parameterName) as
DbParameter
;
126
abstract protected
DbParameter
GetParameter(int index);
128
abstract protected
DbParameter
GetParameter(string parameterName);
148
abstract protected void SetParameter(int index,
DbParameter
value);
150
abstract protected void SetParameter(string parameterName,
DbParameter
value);
fx\src\data\System\Data\Common\DbProviderFactory.cs (1)
50
public virtual
DbParameter
CreateParameter() {
fx\src\data\System\Data\Odbc\OdbcCommand.cs (1)
492
override protected
DbParameter
CreateDbParameter() {
fx\src\data\System\Data\Odbc\OdbcCommandBuilder.cs (1)
85
override protected void ApplyParameterInfo(
DbParameter
parameter, DataRow datarow, StatementType statementType, bool whereClause) {
fx\src\data\System\Data\Odbc\OdbcFactory.cs (1)
44
public override
DbParameter
CreateParameter() {
fx\src\data\System\Data\OleDb\OleDbCommand.cs (1)
530
override protected
DbParameter
CreateDbParameter() {
fx\src\data\System\Data\OleDb\OleDbCommandBuilder.cs (1)
80
override protected void ApplyParameterInfo(
DbParameter
parameter, DataRow datarow, StatementType statementType, bool whereClause) {
fx\src\data\System\Data\OleDb\OleDbFactory.cs (1)
44
public override
DbParameter
CreateParameter() {
fx\src\data\System\Data\ProviderBase\DbMetaDataFactory.cs (1)
150
DbParameter
restrictionParameter = command.CreateParameter();
fx\src\Data\System\Data\ProviderBase\DbParameterCollectionHelper.cs (4)
123
override protected
DbParameter
GetParameter(int index) {
128
override protected
DbParameter
GetParameter(string parameterName) {
236
override protected void SetParameter(int index,
DbParameter
value) {
242
override protected void SetParameter(string parameterName,
DbParameter
value) {
fx\src\Data\System\Data\ProviderBase\DbParameterHelper.cs (1)
210
internal void CopyTo(
DbParameter
destination) {
fx\src\data\System\Data\SqlClient\SqlClientFactory.cs (1)
51
public override
DbParameter
CreateParameter() {
fx\src\data\System\Data\SqlClient\SqlCommand.cs (1)
1106
override protected
DbParameter
CreateDbParameter() {
fx\src\data\System\Data\SqlClient\SqlCommandBuilder.cs (1)
160
override protected void ApplyParameterInfo(
DbParameter
parameter, DataRow datarow, StatementType statementType, bool whereClause) {
System.Data.Entity (34)
System\Data\Common\DbCommandDefinition.cs (6)
67
internal static void PopulateParameterFromTypeUsage(
DbParameter
parameter, TypeUsage type, bool isOutParam)
175
private static void PopulateBinaryParameter(
DbParameter
parameter, TypeUsage type, DbType dbType, bool isOutParam)
184
private static void PopulateDecimalParameter (
DbParameter
parameter, TypeUsage type, DbType dbType)
204
private static void PopulateDateTimeParameter(
DbParameter
parameter, TypeUsage type, DbType dbType)
219
private static void PopulateStringParameter(
DbParameter
parameter, TypeUsage type, bool isOutParam)
250
private static void SetParameterSize(
DbParameter
parameter, TypeUsage type, bool isOutParam)
System\Data\Common\DbProviderServices.cs (2)
254
internal void SetParameterValue(
DbParameter
parameter, TypeUsage parameterType, object value)
263
protected virtual void SetDbParameterValue(
DbParameter
parameter, TypeUsage parameterType, object value)
System\Data\Common\Utils\CommandHelper.cs (1)
126
foreach (
DbParameter
storeParameter in storeProviderCommand.Parameters)
System\Data\EntityClient\DbParameterCollectionHelper.cs (4)
125
override protected
DbParameter
GetParameter(int index) {
130
override protected
DbParameter
GetParameter(string parameterName) {
238
override protected void SetParameter(int index,
DbParameter
value) {
244
override protected void SetParameter(string parameterName,
DbParameter
value) {
System\Data\EntityClient\DbParameterHelper.cs (1)
196
internal void CopyTo(
DbParameter
destination) {
System\Data\EntityClient\EntityCommand.cs (1)
436
protected override
DbParameter
CreateDbParameter()
System\Data\EntityClient\EntityCommandDefinition.cs (2)
448
foreach (
DbParameter
storeParameter in storeProviderCommand.Parameters) {
496
private static void SyncParameterProperties(EntityParameter entityParameter,
DbParameter
storeParameter, DbProviderServices storeProviderServices) {
System\Data\EntityClient\EntityProviderFactory.cs (1)
89
public override
DbParameter
CreateParameter()
System\Data\Mapping\Update\Internal\FunctionUpdateCommand.cs (9)
71
private List<KeyValuePair<int,
DbParameter
>> m_inputIdentifiers;
82
private
DbParameter
m_rowsAffectedParameter;
96
foreach (KeyValuePair<int,
DbParameter
> inputIdentifier in m_inputIdentifiers)
135
DbParameter
parameter = this.m_dbCommand.Parameters[parameterBinding.Parameter.Name];
148
m_inputIdentifiers = new List<KeyValuePair<int,
DbParameter
>>(initialSize);
152
m_inputIdentifiers.Add(new KeyValuePair<int,
DbParameter
>(principal, parameter));
224
foreach (KeyValuePair<int,
DbParameter
> inputIdentifier in m_inputIdentifiers)
389
DbParameter
thisParameter = this.m_inputIdentifiers[i].Value;
390
DbParameter
otherParameter = other.m_inputIdentifiers[i].Value;
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (1)
811
internal void SetParameterValue(
DbParameter
parameter, TypeUsage typeUsage, object value)
System\Data\Objects\ObjectContext.cs (5)
3213
DbParameter
[] dbParameters = new
DbParameter
[parameters.Length];
3217
if (parameters.All(p => p is
DbParameter
))
3221
dbParameters[i] = (
DbParameter
)parameters[i];
3224
else if (!parameters.Any(p => p is
DbParameter
))
System\Data\SqlClient\SqlProviderServices.cs (1)
153
protected override void SetDbParameterValue(
DbParameter
parameter, TypeUsage parameterType, object value)
System.Data.Linq (6)
SqlClient\Common\TypeSystemProvider.cs (1)
79
internal abstract void InitializeParameter(ProviderType type, System.Data.Common.
DbParameter
parameter, object value);
SqlClient\SqlProvider.cs (2)
1155
foreach (
DbParameter
p in cmd.Parameters) {
1184
DbParameter
p = cmd.CreateParameter();
SqlClient\SqlTypeSystemProvider.cs (3)
971
internal override void InitializeParameter(ProviderType type,
DbParameter
parameter, object value) {
1008
internal virtual int? DetermineParameterSize(SqlType declaredType,
DbParameter
parameter) {
1484
internal override int? DetermineParameterSize(SqlType declaredType,
DbParameter
parameter)
System.Web (7)
UI\WebControls\SqlDataSource.cs (2)
853
internal
DbParameter
CreateParameter(string parameterName, object parameterValue) {
855
DbParameter
parameter = factory.CreateParameter();
UI\WebControls\SqlDataSourceView.cs (5)
662
DbParameter
dbParameter = _owner.CreateParameter(formattedParamName, value);
687
foreach (
DbParameter
p in command.Parameters) {
978
DbParameter
parameter = command.Parameters[i];
1209
DbParameter
dbParameter = _owner.CreateParameter(parameterPrefix + parameter.Name, values[i]);
1446
foreach (
DbParameter
parameter in command.Parameters) {
System.Web.Extensions (1)
ClientServices\Providers\SqlHelper.cs (1)
291
cmd.Parameters.Add((
DbParameter
) Activator.CreateInstance(_SqlCeParamType, new object[]{paramName, paramValue}));
System.Workflow.Runtime (19)
Hosting\DbResourceAllocator.cs (5)
239
internal
DbParameter
NewDbParameter()
244
internal
DbParameter
NewDbParameter(string parameterName, DbType type)
263
internal
DbParameter
NewDbParameter(string parameterName, DbType type, ParameterDirection direction)
265
DbParameter
parameter = NewDbParameter(parameterName, type);
271
internal
DbParameter
NewDbParameter(string parameterName, object value)
Hosting\SqlWorkflowPersistenceService.cs (10)
185
DbParameter
p1 = this.dbResourceAllocator.NewDbParameter();
192
DbParameter
p2 = this.dbResourceAllocator.NewDbParameter();
309
DbParameter
p2 = this.dbResourceAllocator.NewDbParameter();
317
DbParameter
found = this.dbResourceAllocator.NewDbParameter();
425
DbParameter
p1 = this.dbResourceAllocator.NewDbParameter();
432
DbParameter
p2 = this.dbResourceAllocator.NewDbParameter();
493
DbParameter
p1 = this.dbResourceAllocator.NewDbParameter();
572
DbParameter
result = command.Parameters["@result"];
584
DbParameter
instanceId = command.Parameters["@uidInstanceID"];
615
DbParameter
resultParam = command.Parameters["@result"];
Tracking\SqlTrackingService.cs (4)
373
DbParameter
param = this._dbResourceAllocator.NewDbParameter();
1544
DbParameter
param = DbResourceAllocator.NewDbParameter("@WorkflowInstanceInternalId", DbType.Int64, System.Data.ParameterDirection.InputOutput);
1623
DbParameter
param = DbResourceAllocator.NewDbParameter("@ActivityInstanceId" + paramIdString, DbType.Int64, System.Data.ParameterDirection.InputOutput);
1738
DbParameter
param = DbResourceAllocator.NewDbParameter("@WorkflowInstanceInternalId", DbType.Int64);