RuntimeDbFunctionParameter 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示函数参数。
[System.Runtime.CompilerServices.Nullable(0)]
public class RuntimeDbFunctionParameter : Microsoft.EntityFrameworkCore.Infrastructure.AnnotatableBase, Microsoft.EntityFrameworkCore.Metadata.Internal.IRuntimeDbFunctionParameter
public class RuntimeDbFunctionParameter : Microsoft.EntityFrameworkCore.Infrastructure.AnnotatableBase, Microsoft.EntityFrameworkCore.Metadata.Internal.IRuntimeDbFunctionParameter
[<System.Runtime.CompilerServices.Nullable(0)>]
type RuntimeDbFunctionParameter = class
inherit AnnotatableBase
interface IRuntimeDbFunctionParameter
interface IDbFunctionParameter
interface IReadOnlyDbFunctionParameter
interface IReadOnlyAnnotatable
interface IAnnotatable
type RuntimeDbFunctionParameter = class
inherit AnnotatableBase
interface IRuntimeDbFunctionParameter
interface IDbFunctionParameter
interface IReadOnlyDbFunctionParameter
interface IReadOnlyAnnotatable
interface IAnnotatable
Public Class RuntimeDbFunctionParameter
Inherits AnnotatableBase
Implements IRuntimeDbFunctionParameter
- 继承
- 特性
- 实现
-
IAnnotatable IReadOnlyAnnotatable IDbFunctionParameter Microsoft.EntityFrameworkCore.Metadata.Internal.IRuntimeDbFunctionParameter IReadOnlyDbFunctionParameter
注解
有关详细信息和示例,请参阅 数据库函数 。
构造函数
| 名称 | 说明 |
|---|---|
| RuntimeDbFunctionParameter(RuntimeDbFunction, String, Type, Boolean, String, RelationalTypeMapping) |
这是一个内部 API,支持Entity Framework Core基础结构,不受与公共 API 相同的兼容性标准的约束。 可以在任何版本中更改或删除它,而不通知。 只需在代码中直接使用它,并非常谨慎地知道这样做可能会导致应用程序在更新到新的Entity Framework Core版本时失败。 |
属性
| 名称 | 说明 |
|---|---|
| DebugView |
这是一个内部 API,支持Entity Framework Core基础结构,不受与公共 API 相同的兼容性标准的约束。 可以在任何版本中更改或删除它,而不通知。 只需在代码中直接使用它,并非常谨慎地知道这样做可能会导致应用程序在更新到新的Entity Framework Core版本时失败。 |
| Function |
获取此参数所属的函数。 |
| IsReadOnly |
指示当前对象是否为只读。 (继承自 AnnotatableBase) |
| Item[String] |
获取具有给定名称的值批注,如果不存在,则 |
| Name |
获取数据库中函数的名称。 |
| TypeMapping |
获取或设置此参数的类型映射。 |
方法
显式接口实现
扩展方法
| 名称 | 说明 |
|---|---|
| AnnotationsToDebugString(IAnnotatable, Int32) |
获取针对对象上声明的所有批注的调试字符串。 |