IRelationalParameterBuilder.AddRawParameter(String, DbParameter) 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.
Adds a parameter.
public void AddRawParameter (string invariantName, System.Data.Common.DbParameter dbParameter);
abstract member AddRawParameter : string * System.Data.Common.DbParameter -> unit
Public Sub AddRawParameter (invariantName As String, dbParameter As DbParameter)
Parameters
- invariantName
- String
The key that identifies this parameter. Note that IRelationalParameter just represents a placeholder for a parameter and not the actual value. This is because the same command can be reused multiple times with different parameter values.
- dbParameter
- DbParameter
The DbParameter being added.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework