Share via


IConventionDbFunctionParameter 接口

定义

表示函数参数。

public interface IConventionDbFunctionParameter : Microsoft.EntityFrameworkCore.Metadata.IDbFunctionParameter
public interface IConventionDbFunctionParameter : Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable, Microsoft.EntityFrameworkCore.Metadata.IDbFunctionParameter
public interface IConventionDbFunctionParameter : Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyDbFunctionParameter
type IConventionDbFunctionParameter = interface
    interface IDbFunctionParameter
type IConventionDbFunctionParameter = interface
    interface IConventionAnnotatable
    interface IAnnotatable
    interface IDbFunctionParameter
type IConventionDbFunctionParameter = interface
    interface IConventionAnnotatable
    interface IReadOnlyAnnotatable
    interface IReadOnlyDbFunctionParameter
type IConventionDbFunctionParameter = interface
    interface IReadOnlyDbFunctionParameter
    interface IReadOnlyAnnotatable
    interface IConventionAnnotatable
Public Interface IConventionDbFunctionParameter
Implements IDbFunctionParameter
Public Interface IConventionDbFunctionParameter
Implements IConventionAnnotatable, IDbFunctionParameter
Public Interface IConventionDbFunctionParameter
Implements IConventionAnnotatable, IReadOnlyDbFunctionParameter
实现

注解

有关详细信息和示例,请参阅 数据库函数

属性

Builder

用于 IConventionDbFunctionParameterBuilder 配置此函数参数的 。

ClrType

获取参数类型。

(继承自 IReadOnlyDbFunctionParameter)
Function

此参数所属的函数。

IsInModel

指示此对象是否在模型中,即尚未从模型中删除。

(继承自 IConventionAnnotatable)
Item[String]

获取具有给定名称的批注的值,如果不存在,则返回 null

(继承自 IReadOnlyAnnotatable)
Name

获取参数名称。

(继承自 IReadOnlyDbFunctionParameter)
PropagatesNullability

获取一个值,该值指示参数是否传播为 Null 性,这意味着如果其值为 null ,则数据库函数本身将 null返回 。

(继承自 IReadOnlyDbFunctionParameter)
StoreFunctionParameter

获取关联的 IStoreFunctionParameter

(继承自 IDbFunctionParameter)
StoreType

获取此参数的存储类型。

(继承自 IReadOnlyDbFunctionParameter)
TypeMapping

获取此参数的类型映射。

(继承自 IReadOnlyDbFunctionParameter)

方法

AddAnnotation(String, Object, Boolean)

向此对象添加批注。 如果已存在具有指定名称的批注,则引发 。

(继承自 IConventionAnnotatable)
AddAnnotations(IEnumerable<IConventionAnnotation>, Boolean)

向 对象添加批注。

(继承自 IConventionAnnotatable)
AddRuntimeAnnotation(String, Object)

向此对象添加运行时批注。 如果已存在具有指定名称的批注,则引发 。

(继承自 IAnnotatable)
AnnotationsToDebugString(Int32)

获取对象上声明的所有注释的调试字符串。

(继承自 IReadOnlyAnnotatable)
FindAnnotation(String)

获取具有给定名称的批注,如果不存在,则返回 null

(继承自 IReadOnlyAnnotatable)
FindRuntimeAnnotation(String)

获取具有给定名称的运行时注释,如果不存在,则返回 null

(继承自 IAnnotatable)
FindRuntimeAnnotationValue(String)

获取具有给定名称的运行时注释的值,如果不存在,则返回 null

(继承自 IAnnotatable)
GetAnnotation(String)

获取具有给定名称的批注,如果不存在,则引发该批注。

(继承自 IReadOnlyAnnotatable)
GetAnnotations()

获取当前 对象上的所有注释。

(继承自 IReadOnlyAnnotatable)
GetConfigurationSource()

返回 参数的配置源。

GetOrAddRuntimeAnnotationValue<TValue,TArg>(String, Func<TArg,TValue>, TArg)

获取具有给定名称的运行时注释的值,如果不存在,则添加该值。

(继承自 IAnnotatable)
GetRuntimeAnnotations()

获取当前 对象上的所有运行时注释。

(继承自 IAnnotatable)
GetStoreTypeConfigurationSource()

返回 的配置 StoreType源。

GetTypeMappingConfigurationSource()

返回 的配置 TypeMapping源。

RemoveAnnotation(String)

从此 对象中删除具有给定名称的批注。

(继承自 IConventionAnnotatable)
RemoveRuntimeAnnotation(String)

从此 对象中删除给定的运行时批注。

(继承自 IAnnotatable)
SetAnnotation(String, Object, Boolean)

设置存储在给定名称下的批注。 如果具有指定名称的批注已存在,则覆盖现有批注。

(继承自 IConventionAnnotatable)
SetOrRemoveAnnotation(String, Object, Boolean)

设置存储在给定名称下的批注。 如果具有指定名称的批注已存在,则覆盖现有批注。 如果 null 提供了 ,则删除现有批注。

(继承自 IConventionAnnotatable)
SetRuntimeAnnotation(String, Object)

设置存储在给定键下的运行时注释。 如果具有指定名称的批注已存在,则覆盖现有批注。

(继承自 IAnnotatable)
SetStoreType(String, Boolean)

设置参数的存储类型。

SetTypeMapping(RelationalTypeMapping, Boolean)

设置参数的类型映射。

ToDebugString(MetadataDebugStringOptions, Int32)

创建给定元数据的可读表示形式。

警告:不要依赖于返回的字符串的格式。 它仅用于调试,并且可能会在版本之间任意更改。

(继承自 IReadOnlyDbFunctionParameter)

扩展方法

AddAnnotations(IConventionAnnotatable, IEnumerable<IConventionAnnotation>, Boolean)

向 对象添加批注。

GetAnnotation(IConventionAnnotatable, String)

获取具有给定名称的批注,如果不存在,则引发该批注。

SetOrRemoveAnnotation(IConventionAnnotatable, String, Object, Boolean)

设置存储在给定名称下的批注。 如果具有指定名称的批注已存在,则覆盖现有批注。 如果 null 提供了 ,则删除现有批注。

AnnotationsToDebugString(IAnnotatable, Int32)

获取对象上声明的所有注释的调试字符串。

GetAnnotation(IAnnotatable, String)

获取具有给定名称的批注,如果不存在,则引发该批注。

ToDebugString(IDbFunctionParameter, MetadataDebugStringOptions, Int32)

创建给定元数据的可读表示形式。

警告:不要依赖于返回的字符串的格式。 它仅用于调试,并且可能会在版本之间任意更改。

适用于