RuntimeStoredProcedure.AddParameter 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 new parameter mapped to the property with the given name.
public virtual Microsoft.EntityFrameworkCore.Metadata.Internal.RuntimeStoredProcedureParameter AddParameter (string name, System.Data.ParameterDirection direction, bool forRowsAffected, string? propertyName, bool? forOriginalValue);
abstract member AddParameter : string * System.Data.ParameterDirection * bool * string * Nullable<bool> -> Microsoft.EntityFrameworkCore.Metadata.Internal.RuntimeStoredProcedureParameter
override this.AddParameter : string * System.Data.ParameterDirection * bool * string * Nullable<bool> -> Microsoft.EntityFrameworkCore.Metadata.Internal.RuntimeStoredProcedureParameter
Public Overridable Function AddParameter (name As String, direction As ParameterDirection, forRowsAffected As Boolean, propertyName As String, forOriginalValue As Nullable(Of Boolean)) As RuntimeStoredProcedureParameter
Parameters
- name
- String
The name of the parameter.
- direction
- ParameterDirection
The direction.
- forRowsAffected
- Boolean
Whether the parameter holds the rows affected.
- propertyName
- String
The name of the corresponding property.
Returns
Microsoft.EntityFrameworkCore.Metadata.Internal.RuntimeStoredProcedureParameter
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