ISequence インターフェイス

定義

モデル内のデータベース シーケンスを表します。

public interface ISequence
public interface ISequence : Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable
public interface ISequence : Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable, Microsoft.EntityFrameworkCore.Metadata.IReadOnlySequence
type ISequence = interface
type ISequence = interface
    interface IAnnotatable
type ISequence = interface
    interface IReadOnlySequence
    interface IReadOnlyAnnotatable
    interface IAnnotatable
Public Interface ISequence
Public Interface ISequence
Implements IAnnotatable
Public Interface ISequence
Implements IAnnotatable, IReadOnlySequence
派生
実装

注釈

詳細と例については、「 データベース シーケンス 」を参照してください。

プロパティ

ClrType
互換性のために残されています。.

シーケンスによって Type 返される値の を取得します。

IncrementBy

シーケンス内の新しい各値を取得するためにインクリメントされた量を取得します。

IsCyclic

最大値に達したときに、シーケンスが最初から再び開始されるかどうかを示す値を取得します。

Item[String]

指定した名前の注釈の値を取得し、存在しない場合は を null 返します。

(継承元 IReadOnlyAnnotatable)
MaxValue

シーケンスでサポートされている最大値を取得します。何 null も設定されていない場合は取得します。

MinValue

シーケンスでサポートされている最小値を取得します。何 null も設定されていない場合は 取得します。

Model

このシーケンスが定義されているモデルを取得します。

ModelSchema

シーケンスのモデル スキーマを取得します。 これは、 で指定されたものと、 でHasSequence(ModelBuilder, String, String)FindSequence(IConventionModel, String, String)使用するものです。

(継承元 IReadOnlySequence)
Name

データベース内のシーケンスの名前を取得します。

Schema

シーケンスを含むデータベース スキーマを取得します。

StartValue

シーケンスを開始する値を取得します。

Type

シーケンスによって Type 返される値の を取得します。

メソッド

AddRuntimeAnnotation(String, Object)

このオブジェクトにランタイム注釈を追加します。 指定した名前の注釈が既に存在する場合は をスローします。

(継承元 IAnnotatable)
AnnotationsToDebugString(Int32)

オブジェクトで宣言されているすべての注釈のデバッグ文字列を取得します。

(継承元 IReadOnlyAnnotatable)
FindAnnotation(String)

指定した名前の注釈を取得し、存在しない場合は を null 返します。

(継承元 IReadOnlyAnnotatable)
FindRuntimeAnnotation(String)

指定された名前のランタイム注釈を取得し、存在しない場合は を null 返します。

(継承元 IAnnotatable)
FindRuntimeAnnotationValue(String)

指定された名前のランタイム注釈の値を取得し、存在しない場合は を null 返します。

(継承元 IAnnotatable)
GetAnnotation(String)

指定した名前の注釈を取得し、存在しない場合は をスローします。

(継承元 IReadOnlyAnnotatable)
GetAnnotations()

現在の オブジェクトのすべての注釈を取得します。

(継承元 IReadOnlyAnnotatable)
GetOrAddRuntimeAnnotationValue<TValue,TArg>(String, Func<TArg,TValue>, TArg)

指定された名前のランタイム注釈の値を取得し、存在しない場合は追加します。

(継承元 IAnnotatable)
GetRuntimeAnnotations()

現在の オブジェクトのすべてのランタイム注釈を取得します。

(継承元 IAnnotatable)
RemoveRuntimeAnnotation(String)

指定されたランタイム注釈をこのオブジェクトから削除します。

(継承元 IAnnotatable)
SetRuntimeAnnotation(String, Object)

指定したキーの下に格納されているランタイム注釈を設定します。 指定した名前の注釈が既に存在する場合は、既存の注釈を上書きします。

(継承元 IAnnotatable)
ToDebugString(MetadataDebugStringOptions, Int32)

指定されたメタデータの人間が判読できる表現を作成します。

警告: 返される文字列の形式に依存しないでください。 デバッグ専用に設計されており、リリース間で任意に変更される可能性があります。

(継承元 IReadOnlySequence)

拡張メソッド

AnnotationsToDebugString(IAnnotatable, Int32)

オブジェクトで宣言されているすべての注釈のデバッグ文字列を取得します。

GetAnnotation(IAnnotatable, String)

指定した名前の注釈を取得し、存在しない場合は をスローします。

ToDebugString(ISequence, MetadataDebugStringOptions, Int32)

指定されたメタデータの人間が判読できる表現を作成します。

警告: 返される文字列の形式に依存しないでください。 デバッグ専用に設計されており、リリース間で任意に変更される可能性があります。

GetFluentApiCalls(ISequence, IAnnotationCodeGenerator)

シーケンスを構成するための fluent API 呼び出しを取得します。

適用対象