Язык

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 этого параметра.

Возвращаемое значение

Новый параметр.

Применяется к