RuntimeSequence 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表模型中的資料庫序列。
[System.Runtime.CompilerServices.Nullable(0)]
public class RuntimeSequence : Microsoft.EntityFrameworkCore.Infrastructure.AnnotatableBase, Microsoft.EntityFrameworkCore.Metadata.ISequence
public class RuntimeSequence : Microsoft.EntityFrameworkCore.Infrastructure.AnnotatableBase, Microsoft.EntityFrameworkCore.Metadata.ISequence
[<System.Runtime.CompilerServices.Nullable(0)>]
type RuntimeSequence = class
inherit AnnotatableBase
interface ISequence
interface IReadOnlySequence
interface IReadOnlyAnnotatable
interface IAnnotatable
type RuntimeSequence = class
inherit AnnotatableBase
interface ISequence
interface IReadOnlySequence
interface IReadOnlyAnnotatable
interface IAnnotatable
Public Class RuntimeSequence
Inherits AnnotatableBase
Implements ISequence
- 繼承
- 屬性
- 實作
備註
更多資訊與範例請參見 資料庫序列 。
建構函式
屬性
| 名稱 | Description |
|---|---|
| DebugView |
這是一個內部 API,支援 Entity Framework Core 基礎架構,且不受公開 API 相同的相容性標準約束。 該內容可能會在任何新聞稿中未經通知而更改或移除。 你應該只在程式碼中直接使用它,並且要非常謹慎,並且要知道這樣做可能會導致更新到新的 Entity Framework Core 版本時應用程式失敗。 |
| IsReadOnly |
表示目前物件是否為唯讀。 (繼承來源 AnnotatableBase) |
| Item[String] |
取得帶有名稱的值註解,若不存在則回 |
| Model |
得到定義此序列的模型。 |
| ModelSchema |
取得序列的元資料結構。 |
| Name |
取得資料庫中序列名稱。 |
| Schema |
取得包含序列的資料庫結構。 |
方法
明確介面實作
擴充方法
| 名稱 | Description |
|---|---|
| AnnotationsToDebugString(IAnnotatable, Int32) |
取得物件上所有宣告註解的除錯字串。 |
| GetFluentApiCalls(ISequence, IAnnotationCodeGenerator) |
取得流暢的 API 呼叫來設定序列。 |