RuntimeDbFunction.AddParameter Método

Definição

Adiciona um parâmetro à função .

public virtual Microsoft.EntityFrameworkCore.Metadata.RuntimeDbFunctionParameter AddParameter (string name, Type clrType, bool propagatesNullability, string storeType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping = default);
abstract member AddParameter : string * Type * bool * string * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Metadata.RuntimeDbFunctionParameter
override this.AddParameter : string * Type * bool * string * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> Microsoft.EntityFrameworkCore.Metadata.RuntimeDbFunctionParameter
Public Overridable Function AddParameter (name As String, clrType As Type, propagatesNullability As Boolean, storeType As String, Optional typeMapping As RelationalTypeMapping = Nothing) As RuntimeDbFunctionParameter

Parâmetros

name
String

O nome do parâmetro.

clrType
Type

O tipo de parâmetro.

propagatesNullability
Boolean

Um valor que indica se o parâmetro propaga a nulidade.

storeType
String

O tipo de repositório desse parâmetro.

typeMapping
RelationalTypeMapping

O RelationalTypeMapping para esse parâmetro.

Retornos

O novo parâmetro.

Aplica-se a