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
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