次の方法で共有


RuntimeDbFunction.AddParameter メソッド

定義

関数にパラメーターを追加します。

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

パラメーター

name
String

パラメーター名。

clrType
Type

パラメーターの型。

propagatesNullability
Boolean

パラメーターが null 許容を伝達するかどうかを示す 値です。

storeType
String

このパラメーターのストア型。

typeMapping
RelationalTypeMapping

RelationalTypeMappingこのパラメーターの 。

戻り値

新しいパラメーター。

適用対象