ISqlServerPropertyAnnotations Interface

Definition

API for SQL Server-specific annotations accessed through SqlServer(IProperty).

public interface ISqlServerPropertyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyAnnotations
type ISqlServerPropertyAnnotations = interface
    interface IRelationalPropertyAnnotations
Public Interface ISqlServerPropertyAnnotations
Implements IRelationalPropertyAnnotations
Derived
Implements

Properties

ColumnName

The name of the column to which the property is mapped.

(Inherited from IRelationalPropertyAnnotations)
ColumnType

The database type of the column to which the property is mapped.

(Inherited from IRelationalPropertyAnnotations)
ComputedColumnSql

The computed constraint SQL expression that should be used when creating a column for this property.

(Inherited from IRelationalPropertyAnnotations)
DefaultValue

The default value to use in the definition of the column when creating a column for this property.

(Inherited from IRelationalPropertyAnnotations)
DefaultValueSql

The default constraint SQL expression that should be used when creating a column for this property.

(Inherited from IRelationalPropertyAnnotations)
HiLoSequenceName

Gets the sequence name to use with ForSqlServerUseSequenceHiLo(PropertyBuilder, String, String)

HiLoSequenceSchema

Gets the schema for the sequence to use with ForSqlServerUseSequenceHiLo(PropertyBuilder, String, String)

IsFixedLength

A flag indicating if the property as capable of storing only fixed-length data, such as strings.

(Inherited from IRelationalPropertyAnnotations)
ValueGenerationStrategy

Gets the SqlServerValueGenerationStrategy to use for the property.

If no strategy is set for the property, then the strategy to use will be taken from the IModel

Methods

FindHiLoSequence()

Finds the ISequence in the model to use with ForSqlServerUseSequenceHiLo(PropertyBuilder, String, String)

Applies to