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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework