语言

RelationalAnnotationNames 类

定义

已知关系模型注释的名称。 应用程序不应直接使用这些名称,而是应改用元数据对象的扩展方法。

[System.Runtime.CompilerServices.Nullable(0)]
public static class RelationalAnnotationNames
public static class RelationalAnnotationNames
[<System.Runtime.CompilerServices.Nullable(0)>]
type RelationalAnnotationNames = class
type RelationalAnnotationNames = class
Public Class RelationalAnnotationNames
继承
RelationalAnnotationNames
特性

注解

有关详细信息和示例,请参阅 建模实体类型和关系 。

字段

名称 说明
AllNames

这是一个内部 API,支持Entity Framework Core基础结构,不受与公共 API 相同的兼容性标准的约束。 可以在任何版本中更改或删除它,而不通知。 只需在代码中直接使用它,并非常谨慎地知道这样做可能会导致应用程序在更新到新的Entity Framework Core版本时失败。

CheckConstraints

检查约束注释的名称。

Collation

排序规则注释的名称。

ColumnName

列名批注的名称。

ColumnOrder

列顺序批注的名称。

ColumnType

列类型批注的名称。

Comment

注释批注的名称。

ComputedColumnSql

计算值 SQL 表达式注释的名称。

ContainerColumnName

指定对象映射到的容器列名称的批注的名称。

ContainerColumnType

对象映射到的容器列的列类型。

ContainerColumnTypeMapping
已过时.

指定容器列类型映射的批注的名称。

DbFunction
已过时.

DbFunction 注释的名称。

DbFunctions

函数批注的名称。

DefaultColumnMappings

默认列映射注释的名称。

DefaultConstraintName

默认约束注释的名称。

DefaultMappings

默认映射注释的名称。

DefaultSchema

默认架构注释的名称。

DefaultValue

默认值批注的名称。

DefaultValueSql

默认值 SQL 表达式注释的名称。

DeleteStoredProcedure

映射的删除存储过程批注的名称。

DeleteStoredProcedureMappings

删除存储过程映射注释的名称。

DeleteStoredProcedureParameterMappings

删除存储过程参数映射注释的名称。

DiscriminatorProperty

鉴别器属性注释的名称。

DiscriminatorValue

鉴别器值批注的名称。

FieldValueGetter

读取器字段值 getter 委托注释的名称。

Filter

筛选器批注的名称。

ForeignKeyMappings

外键映射注释的名称。

FunctionColumnMappings

函数列映射注释的名称。

FunctionMappings

函数映射注释的名称。

FunctionName

映射的函数名称批注的名称。

InsertStoredProcedure

映射的插入存储过程批注的名称。

InsertStoredProcedureMappings

插入存储过程映射批注的名称。

InsertStoredProcedureParameterMappings

插入存储过程参数映射注释的名称。

InsertStoredProcedureResultColumnMappings

插入存储过程结果列映射批注的名称。

IsFixedLength

包含一个标志的批注的名称,该标志指示属性是否限制为固定长度值。

IsForeignKeyExcludedFromMigrations

批注的名称,用于确定外键约束是否从迁移中排除。

IsStored

计算列类型批注的名称。

IsTableExcludedFromMigrations

用于确定表是否从迁移中排除的批注的名称。

JsonElementMappings

JSON 元素的名称映射批注。

JsonIndex

批注的名称,该批注捕获针对 JSON 映射列中包含的属性定义的表索引的映射 JSON 元素和复杂集合索引。

JsonIndexPaths

捕获基架 JSON 索引的 JSON 路径的批注的名称。 该值是 ValueTuple<T1,T2> JSON 容器列名和索引 JSON 路径的有序列表(每个路径都采用提供程序的 CREATE JSON INDEX 语句接受的 SQL/JSON $.path 格式)。

JsonPropertyName

属性/导航映射到的元素的 JSON 属性名称。

MappingFragments

包含实体类型映射片段的批注的名称。

MappingStrategy

用于确定继承属性的映射策略的批注的名称。

MaxIdentifierLength

包含数据库标识符最大长度的批注的名称。

ModelDependencies

关系模型依赖项注释的名称。

Name

约束名称批注的名称。

Prefix

用于所有关系注释的前缀。

RelationalModel

关系模型注释的名称。

RelationalModelFactory

关系模型工厂注释的名称。

RelationalOverrides

包含特定于表的分面重写的批注的名称。

Schema

架构名称批注的名称。

SequencePrefix
已过时.

序列化序列批注的前缀。

Sequences

序列批注的名称。

SqlQuery

映射的 sql 查询注释的名称。

SqlQueryColumnMappings

sql 查询列映射批注的名称。

SqlQueryMappings

sql 查询映射注释的名称。

StoreType

存储(数据库)类型批注的名称。

TableColumnMappings

列映射注释的名称。

TableIndexMappings

表索引映射批注的名称。

TableMappings

表映射注释的名称。

TableName

表名批注的名称。

TpcMappingStrategy

对应于 TPC 映射策略的批注的值。

TphMappingStrategy

对应于 TPH 映射策略的批注的值。

TptMappingStrategy

对应于 TPT 映射策略的批注的值。

TypeMapping
已过时.

批注的名称 RelationalTypeMapping 。

UniqueConstraintMappings

唯一约束映射注释的名称。

UpdateStoredProcedure

映射的更新存储过程注释的名称。

UpdateStoredProcedureMappings

更新存储过程映射注释的名称。

UpdateStoredProcedureParameterMappings

更新存储过程参数映射注释的名称。

UpdateStoredProcedureResultColumnMappings

更新存储过程结果列映射批注的名称。

UseNamedDefaultConstraints

使用命名的默认约束注释的名称。

ViewColumnMappings

视图列映射注释的名称。

ViewDefinition

数据库视图的定义。

ViewDefinitionSql

包含数据库视图定义的批注的名称。

ViewMappings

视图映射注释的名称。

ViewName

视图名称批注的名称。

ViewSchema

视图架构名称批注的名称。

适用于