SqlServerModelAnnotations 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
透過 存取 SqlServer(IMutableModel) 關聯式特定批註的屬性。
public class SqlServerModelAnnotations : Microsoft.EntityFrameworkCore.Metadata.RelationalModelAnnotations, Microsoft.EntityFrameworkCore.Metadata.ISqlServerModelAnnotations
type SqlServerModelAnnotations = class
inherit RelationalModelAnnotations
interface ISqlServerModelAnnotations
interface IRelationalModelAnnotations
Public Class SqlServerModelAnnotations
Inherits RelationalModelAnnotations
Implements ISqlServerModelAnnotations
- 繼承
- 實作
建構函式
| SqlServerModelAnnotations(IModel) |
建構指定 IModel 之注釋的實例。 |
| SqlServerModelAnnotations(RelationalAnnotations) |
建構由指定批註協助程式所表示之 IModel 注釋的 實例。 |
欄位
| DefaultHiLoSequenceName |
與 一起使用之序列的預設名稱 ForSqlServerUseSequenceHiLo(PropertyBuilder, String, String) |
| ProviderFullAnnotationNames |
透過 存取 SqlServer(IMutableModel) 關聯式特定批註的屬性。 (繼承來源 RelationalModelAnnotations) |
屬性
| Annotations |
RelationalAnnotations協助程式, IModel 表示要標注的 。 (繼承來源 RelationalModelAnnotations) |
| DatabaseName |
透過 存取 SqlServer(IMutableModel) 關聯式特定批註的屬性。 (繼承來源 RelationalModelAnnotations) |
| DbFunctions |
模型中包含的所有 IDbFunction 。 (繼承來源 RelationalModelAnnotations) |
| DefaultSchema |
要用於模型的預設架構,如果未明確設定,則 |
| HiLoSequenceName |
取得或設定要與 搭配使用的序列名稱 ForSqlServerUseSequenceHiLo(PropertyBuilder, String, String) |
| HiLoSequenceSchema |
取得或設定要搭配使用之序列的架構 ForSqlServerUseSequenceHiLo(PropertyBuilder, String, String) |
| MaxIdentifierLength |
存放區識別碼允許的最大長度。 (繼承來源 RelationalModelAnnotations) |
| Model |
IModel要標注的 。 (繼承來源 RelationalModelAnnotations) |
| Sequences |
模型中包含的所有 ISequence 。 (繼承來源 RelationalModelAnnotations) |
| ValueGenerationStrategy |
SqlServerValueGenerationStrategy要用於模型中索引鍵屬性的 ,除非屬性已明確設定不同的策略。 |
方法
明確介面實作
| IRelationalModelAnnotations.FindSequence(String, String) |
尋找 ISequence 具有指定名稱的 。 (繼承來源 RelationalModelAnnotations) |
| IRelationalModelAnnotations.Sequences |
模型中包含的所有 ISequence 。 (繼承來源 RelationalModelAnnotations) |