Class RelationalAnnotationNames
- Namespace
- Microsoft.EntityFrameworkCore.Metadata
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
Names for well-known relational model annotations. Applications should not use these names directly, but should instead use the extension methods on metadata objects.
public static class RelationalAnnotationNames
- Inheritance
-
RelationalAnnotationNames
- Inherited Members
Fields
CheckConstraints
The name for check constraint annotations.
public const string CheckConstraints = "Relational:CheckConstraints"
Field Value
Collation
The name for collation annotations.
public const string Collation = "Relational:Collation"
Field Value
ColumnName
The name for column name annotations.
public const string ColumnName = "Relational:ColumnName"
Field Value
ColumnType
The name for column type annotations.
public const string ColumnType = "Relational:ColumnType"
Field Value
Comment
The name for comment annotations.
public const string Comment = "Relational:Comment"
Field Value
ComputedColumnSql
The name for computed value SQL expression annotations.
public const string ComputedColumnSql = "Relational:ComputedColumnSql"
Field Value
DbFunction
The name for DbFunction annotation.
[Obsolete("Use DbFunctions")]
public const string DbFunction = "Relational:DbFunction"
Field Value
DbFunctions
The name for functions annotation.
public const string DbFunctions = "Relational:DbFunctions"
Field Value
DefaultColumnMappings
The name for default column mappings annotations.
public const string DefaultColumnMappings = "Relational:DefaultColumnMappings"
Field Value
DefaultMappings
The name for default mappings annotations.
public const string DefaultMappings = "Relational:DefaultMappings"
Field Value
DefaultSchema
The name for default schema annotations.
public const string DefaultSchema = "Relational:DefaultSchema"
Field Value
DefaultValue
The name for default value annotations.
public const string DefaultValue = "Relational:DefaultValue"
Field Value
DefaultValueSql
The name for default value SQL expression annotations.
public const string DefaultValueSql = "Relational:DefaultValueSql"
Field Value
Filter
The name for filter annotations.
public const string Filter = "Relational:Filter"
Field Value
ForeignKeyMappings
The name for foreign key mappings annotations.
public const string ForeignKeyMappings = "Relational:ForeignKeyMappings"
Field Value
FunctionColumnMappings
The name for function column mappings annotations.
public const string FunctionColumnMappings = "Relational:FunctionColumnMappings"
Field Value
FunctionMappings
The name for function mappings annotations.
public const string FunctionMappings = "Relational:FunctionMappings"
Field Value
FunctionName
The name for mapped function name annotations.
public const string FunctionName = "Relational:FunctionName"
Field Value
IsFixedLength
The name for the annotation containing a flag indicating whether the property is constrained to fixed length values.
public const string IsFixedLength = "Relational:IsFixedLength"
Field Value
IsStored
The name for computed column type annotations.
public const string IsStored = "Relational:IsStored"
Field Value
IsTableExcludedFromMigrations
The name for the annotation determining whether the table is excluded from migrations.
public const string IsTableExcludedFromMigrations = "Relational:IsTableExcludedFromMigrations"
Field Value
MaxIdentifierLength
The name for the annotation containing the maximum length for database identifiers.
public const string MaxIdentifierLength = "Relational:MaxIdentifierLength"
Field Value
Name
The name for constraint name annotations.
public const string Name = "Relational:Name"
Field Value
Prefix
The prefix used for all relational annotations.
public const string Prefix = "Relational:"
Field Value
RelationalModel
The name for database model annotation.
public const string RelationalModel = "Relational:RelationalModel"
Field Value
RelationalOverrides
The name for the annotation that contains table-specific facet overrides.
public const string RelationalOverrides = "Relational:RelationalOverrides"
Field Value
Schema
The name for schema name annotations.
public const string Schema = "Relational:Schema"
Field Value
SequencePrefix
The prefix for serialized sequence annotations.
[Obsolete("All sequences are stored in a single annotation now")]
public const string SequencePrefix = "Relational:Sequence:"
Field Value
Sequences
The name for sequence annotation.
public const string Sequences = "Relational:Sequences"
Field Value
SqlQuery
The name for mapped sql query annotations.
public const string SqlQuery = "Relational:SqlQuery"
Field Value
SqlQueryColumnMappings
The name for sql query column mappings annotations.
public const string SqlQueryColumnMappings = "Relational:SqlQueryColumnMappings"
Field Value
SqlQueryMappings
The name for sql query mappings annotations.
public const string SqlQueryMappings = "Relational:SqlQueryMappings"
Field Value
TableColumnMappings
The name for column mappings annotations.
public const string TableColumnMappings = "Relational:TableColumnMappings"
Field Value
TableIndexMappings
The name for table index mappings annotations.
public const string TableIndexMappings = "Relational:TableIndexMappings"
Field Value
TableMappings
The name for table mappings annotations.
public const string TableMappings = "Relational:TableMappings"
Field Value
TableName
The name for table name annotations.
public const string TableName = "Relational:TableName"
Field Value
UniqueConstraintMappings
The name for unique constraint mappings annotations.
public const string UniqueConstraintMappings = "Relational:UniqueConstraintMappings"
Field Value
ViewColumnMappings
The name for view column mappings annotations.
public const string ViewColumnMappings = "Relational:ViewColumnMappings"
Field Value
ViewDefinitionSql
The name for the annotation containing the definition of a database view.
public const string ViewDefinitionSql = "Relational:ViewDefinitionSql"
Field Value
ViewMappings
The name for view mappings annotations.
public const string ViewMappings = "Relational:ViewMappings"
Field Value
ViewName
The name for view name annotations.
public const string ViewName = "Relational:ViewName"
Field Value
ViewSchema
The name for view schema name annotations.
public const string ViewSchema = "Relational:ViewSchema"