Udostępnij za pośrednictwem


RuntimeDbFunction.AddParameter Metoda

Definicja

Dodaje parametr do funkcji.

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

Nazwa parametru.

clrType
Type

Typ parametru.

propagatesNullability
Boolean

Wartość wskazująca, czy parametr propaguje wartość null.

storeType
String

Typ magazynu tego parametru.

typeMapping
RelationalTypeMapping

Dla RelationalTypeMapping tego parametru.

Zwraca

Nowy parametr.

Dotyczy