語言

ISqlServerPropertyAnnotations 介面

定義

可透過 S 存取 SqlServer(IProperty)SQL Server 特定註解的 API。

public interface ISqlServerPropertyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyAnnotations
type ISqlServerPropertyAnnotations = interface
    interface IRelationalPropertyAnnotations
Public Interface ISqlServerPropertyAnnotations
Implements IRelationalPropertyAnnotations
衍生
實作

屬性

名稱 Description
ColumnName

該物業所映射的欄位名稱。

(繼承來源 IRelationalPropertyAnnotations)
ColumnType

屬性所映射的欄位的資料庫類型。

(繼承來源 IRelationalPropertyAnnotations)
ComputedColumnSql

建立此屬性欄位時應使用的計算限制 SQL 表達式。

(繼承來源 IRelationalPropertyAnnotations)
DefaultValue

這是建立此屬性欄位時,定義欄位時的預設值。

(繼承來源 IRelationalPropertyAnnotations)
DefaultValueSql

建立欄位時應該使用的預設限制 SQL 表達式。

(繼承來源 IRelationalPropertyAnnotations)
HiLoSequenceName

取得序列名稱以 ForSqlServerUseSequenceHiLo(PropertyBuilder, String, String)

HiLoSequenceSchema

取得序列的結構,要用 ForSqlServerUseSequenceHiLo(PropertyBuilder, String, String)

IsFixedLength

一個旗標,指示該屬性是否能儲存固定長度的資料,例如字串。

(繼承來源 IRelationalPropertyAnnotations)
ValueGenerationStrategy

獲得 SqlServerValueGenerationStrategy 該物業的用途。

若該性質未設定策略,則將從 IModel

方法

名稱 Description
FindHiLoSequence()

在模型中找到 並 ISequence 用於 ForSqlServerUseSequenceHiLo(PropertyBuilder, String, String)

適用於