IConventionSequence インターフェイス

定義

モデルの構築中に変更できるフォームで、モデル内のデータベース シーケンスを表します。

public interface IConventionSequence : Microsoft.EntityFrameworkCore.Metadata.ISequence
public interface IConventionSequence : Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable, Microsoft.EntityFrameworkCore.Metadata.ISequence
public interface IConventionSequence : Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable, Microsoft.EntityFrameworkCore.Metadata.IReadOnlySequence
type IConventionSequence = interface
    interface ISequence
type IConventionSequence = interface
    interface ISequence
    interface IAnnotatable
    interface IConventionAnnotatable
type IConventionSequence = interface
    interface IReadOnlySequence
    interface IReadOnlyAnnotatable
    interface IConventionAnnotatable
Public Interface IConventionSequence
Implements ISequence
Public Interface IConventionSequence
Implements IConventionAnnotatable, ISequence
Public Interface IConventionSequence
Implements IConventionAnnotatable, IReadOnlySequence
実装

注釈

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

プロパティ

Builder

このシーケンスの構成に使用できるビルダーを取得します。

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

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

(継承元 IReadOnlySequence)
IncrementBy

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

(継承元 IReadOnlySequence)
IsCyclic

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

(継承元 IReadOnlySequence)
IsInModel

このオブジェクトがモデル内にあるかどうか、つまり、モデルから削除されていないかどうかを示します。

(継承元 IConventionAnnotatable)
Item[String]

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

(継承元 IReadOnlyAnnotatable)
MaxValue

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

(継承元 IReadOnlySequence)
MinValue

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

(継承元 IReadOnlySequence)
Model

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

ModelSchema

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

(継承元 IReadOnlySequence)
Name

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

(継承元 IReadOnlySequence)
Schema

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

(継承元 IReadOnlySequence)
StartValue

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

(継承元 IReadOnlySequence)
Type

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

(継承元 IReadOnlySequence)

メソッド

AddAnnotation(String, Object, Boolean)

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

(継承元 IConventionAnnotatable)
AddAnnotations(IEnumerable<IConventionAnnotation>, Boolean)

オブジェクトに注釈を追加します。

(継承元 IConventionAnnotatable)
AddRuntimeAnnotation(String, Object)

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

(継承元 IAnnotatable)
AnnotationsToDebugString(Int32)

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

(継承元 IReadOnlyAnnotatable)
FindAnnotation(String)

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

(継承元 IReadOnlyAnnotatable)
FindRuntimeAnnotation(String)

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

(継承元 IAnnotatable)
FindRuntimeAnnotationValue(String)

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

(継承元 IAnnotatable)
GetAnnotation(String)

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

(継承元 IReadOnlyAnnotatable)
GetAnnotations()

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

(継承元 IReadOnlyAnnotatable)
GetClrTypeConfigurationSource()
互換性のために残されています。.

の構成ソースを ClrType取得します。

GetConfigurationSource()

この IConventionSequenceの構成ソースを取得します。

GetIncrementByConfigurationSource()

の構成ソースを IncrementBy取得します。

GetIsCyclicConfigurationSource()

の構成ソースを IsCyclic取得します。

GetMaxValueConfigurationSource()

の構成ソースを MaxValue取得します。

GetMinValueConfigurationSource()

の構成ソースを MinValue返します。

GetOrAddRuntimeAnnotationValue<TValue,TArg>(String, Func<TArg,TValue>, TArg)

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

(継承元 IAnnotatable)
GetRuntimeAnnotations()

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

(継承元 IAnnotatable)
GetStartValueConfigurationSource()

の構成ソースを StartValue返します。

GetTypeConfigurationSource()

の構成ソースを Type取得します。

RemoveAnnotation(String)

指定した名前の注釈をこのオブジェクトから削除します。

(継承元 IConventionAnnotatable)
RemoveRuntimeAnnotation(String)

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

(継承元 IAnnotatable)
SetAnnotation(String, Object, Boolean)

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

(継承元 IConventionAnnotatable)
SetClrType(Type, Boolean)
互換性のために残されています。.

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

SetIncrementBy(Nullable<Int32>, Boolean)

シーケンス内の新しい値を取得するために増分される量を設定します。

SetIsCyclic(Nullable<Boolean>, Boolean)

最大値に達したときに、シーケンスが先頭から再び開始されるかどうかを設定します。

SetMaxValue(Nullable<Int64>, Boolean)

シーケンスでサポートされる最大値を設定します。

SetMinValue(Nullable<Int64>, Boolean)

シーケンスでサポートされる最小値を設定します。

SetOrRemoveAnnotation(String, Object, Boolean)

指定した名前の下に格納されている注釈を設定します。 指定した名前の注釈が既に存在する場合は、既存の注釈を上書きします。 が指定されている場合 null は、既存の注釈を削除します。

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

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

(継承元 IAnnotatable)
SetStartValue(Nullable<Int64>, Boolean)

シーケンスを開始する値を設定します。

SetType(Type, Boolean)

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

ToDebugString(MetadataDebugStringOptions, Int32)

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

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

(継承元 IReadOnlySequence)

拡張メソッド

AddAnnotations(IConventionAnnotatable, IEnumerable<IConventionAnnotation>, Boolean)

オブジェクトに注釈を追加します。

GetAnnotation(IConventionAnnotatable, String)

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

SetOrRemoveAnnotation(IConventionAnnotatable, String, Object, Boolean)

指定した名前の下に格納されている注釈を設定します。 指定した名前の注釈が既に存在する場合は、既存の注釈を上書きします。 が指定されている場合 null は、既存の注釈を削除します。

AnnotationsToDebugString(IAnnotatable, Int32)

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

GetAnnotation(IAnnotatable, String)

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

ToDebugString(ISequence, MetadataDebugStringOptions, Int32)

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

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

適用対象