Sdílet prostřednictvím


RuntimeDbFunction.AddParameter Metoda

Definice

Přidá do funkce parametr .

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

Parametry

name
String

Název parametru.

clrType
Type

Typ parametru.

propagatesNullability
Boolean

Hodnota, která označuje, zda parametr šíří hodnotu nullability.

storeType
String

Typ úložiště tohoto parametru.

typeMapping
RelationalTypeMapping

Parametr RelationalTypeMapping pro tento parametr.

Návraty

Nový parametr.

Platí pro