IRelationalParameter.AddDbParameter Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddDbParameter(DbCommand, IReadOnlyDictionary<String,Object>) |
Adds the parameter as a DbParameter to a DbCommand. |
AddDbParameter(DbCommand, Object) |
Adds the parameter as a DbParameter to a DbCommand. |
AddDbParameter(DbCommand, IReadOnlyDictionary<String,Object>)
- Source:
- IRelationalParameter.cs
- Source:
- IRelationalParameter.cs
- Source:
- IRelationalParameter.cs
Adds the parameter as a DbParameter to a DbCommand.
public void AddDbParameter (System.Data.Common.DbCommand command, System.Collections.Generic.IReadOnlyDictionary<string,object> parameterValues);
public void AddDbParameter (System.Data.Common.DbCommand command, System.Collections.Generic.IReadOnlyDictionary<string,object?> parameterValues);
public void AddDbParameter (System.Data.Common.DbCommand command, System.Collections.Generic.IReadOnlyDictionary<string,object?>? parameterValues);
abstract member AddDbParameter : System.Data.Common.DbCommand * System.Collections.Generic.IReadOnlyDictionary<string, obj> -> unit
Public Sub AddDbParameter (command As DbCommand, parameterValues As IReadOnlyDictionary(Of String, Object))
Parameters
- command
- DbCommand
The command to add the parameter to.
- parameterValues
- IReadOnlyDictionary<String,Object>
The map of parameter values
Applies to
AddDbParameter(DbCommand, Object)
- Source:
- IRelationalParameter.cs
- Source:
- IRelationalParameter.cs
- Source:
- IRelationalParameter.cs
Adds the parameter as a DbParameter to a DbCommand.
public void AddDbParameter (System.Data.Common.DbCommand command, object value);
public void AddDbParameter (System.Data.Common.DbCommand command, object? value);
abstract member AddDbParameter : System.Data.Common.DbCommand * obj -> unit
Public Sub AddDbParameter (command As DbCommand, value As Object)
Parameters
- command
- DbCommand
The command to add the parameter to.
- value
- Object
The value to be assigned to the parameter.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework