Language

CreateSequenceOperation クラス

定義

新しいシーケンスを作成するための MigrationOperation 。

public class CreateSequenceOperation : Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation
public class CreateSequenceOperation : Microsoft.EntityFrameworkCore.Migrations.Operations.SequenceOperation
[System.Diagnostics.DebuggerDisplay("CREATE SEQUENCE {Name}")]
[System.Runtime.CompilerServices.Nullable(0)]
public class CreateSequenceOperation : Microsoft.EntityFrameworkCore.Migrations.Operations.SequenceOperation
[System.Diagnostics.DebuggerDisplay("CREATE SEQUENCE {Name}")]
public class CreateSequenceOperation : Microsoft.EntityFrameworkCore.Migrations.Operations.SequenceOperation
type CreateSequenceOperation = class
    inherit MigrationOperation
type CreateSequenceOperation = class
    inherit SequenceOperation
[<System.Diagnostics.DebuggerDisplay("CREATE SEQUENCE {Name}")>]
[<System.Runtime.CompilerServices.Nullable(0)>]
type CreateSequenceOperation = class
    inherit SequenceOperation
[<System.Diagnostics.DebuggerDisplay("CREATE SEQUENCE {Name}")>]
type CreateSequenceOperation = class
    inherit SequenceOperation
Public Class CreateSequenceOperation
Inherits MigrationOperation
Public Class CreateSequenceOperation
Inherits SequenceOperation
継承
CreateSequenceOperation
継承
継承
属性

注釈

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

コンストラクター

Name 説明
CreateSequenceOperation()

新しいシーケンスを作成するための MigrationOperation 。

プロパティ

Name 説明
ClrType

シーケンスから返される値の CLR Type 。

IncrementBy

新しいシーケンスを作成するための MigrationOperation 。

IncrementBy

シーケンス内の次の値を生成するときにインクリメントする量 。既定値は 1 です。

(継承元 SequenceOperation)
IsCyclic

新しいシーケンスを作成するための MigrationOperation 。

IsCyclic

最大値に達したときにシーケンスを再開するかどうかを示します。

(継承元 SequenceOperation)
IsDestructiveChange

操作によってデータベース内のデータが失われる可能性があるかどうかを示します。

(継承元 MigrationOperation)
IsReadOnly

現在のオブジェクトが読み取り専用かどうかを示します。

(継承元 AnnotatableBase)
Item[String]

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

(継承元 Annotatable)
MaxValue

新しいシーケンスを作成するための MigrationOperation 。

MaxValue

シーケンスの最大値。指定されていない場合は null 。

(継承元 SequenceOperation)
MinValue

新しいシーケンスを作成するための MigrationOperation 。

MinValue

シーケンスの最小値。指定されていない場合は null 。

(継承元 SequenceOperation)
Name

シーケンスの名前です。

Schema

シーケンスを含むスキーマ。既定のスキーマを使用する必要がある場合は null 。

StartValue

シーケンスがカウントを開始する値 。既定値は 1 です。

メソッド

Name 説明
AddAnnotation(String, Annotation)

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

(継承元 Annotatable)
AddAnnotation(String, Object)

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

(継承元 Annotatable)
AddAnnotations(IEnumerable<IAnnotation>)

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

(継承元 AnnotatableBase)
AddAnnotations(IReadOnlyDictionary<String,Object>)

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

(継承元 AnnotatableBase)
AddRuntimeAnnotation(String, Annotation)

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

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

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

(継承元 AnnotatableBase)
AddRuntimeAnnotations(IEnumerable<Annotation>)

このオブジェクトにランタイム注釈を追加します。

(継承元 AnnotatableBase)
AddRuntimeAnnotations(IReadOnlyDictionary<String,Object>)

このオブジェクトにランタイム注釈を追加します。

(継承元 AnnotatableBase)
CreateAnnotation(String, Object)

新しい注釈を作成します。

(継承元 Annotatable)
CreateRuntimeAnnotation(String, Object)

新しいランタイム注釈を作成します。

(継承元 AnnotatableBase)
EnsureMutable()

モデルが読み取り専用の場合にスローします。

(継承元 Annotatable)
EnsureReadOnly()

モデルが読み取り専用でない場合にスローします。

(継承元 Annotatable)
FindAnnotation(String)

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

(継承元 Annotatable)
FindRuntimeAnnotation(String)

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

(継承元 AnnotatableBase)
GetAnnotation(String)

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

(継承元 AnnotatableBase)
GetAnnotations()

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

(継承元 Annotatable)
GetOrAddAnnotation(String, Object)

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

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

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

(継承元 AnnotatableBase)
GetRuntimeAnnotations()

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

(継承元 AnnotatableBase)
OnAnnotationSet(String, Annotation, Annotation)

注釈が設定または削除されたときに呼び出されます。

(継承元 Annotatable)
RemoveAnnotation(String)

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

(継承元 Annotatable)
RemoveRuntimeAnnotation(String)

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

(継承元 AnnotatableBase)
SetAnnotation(String, Annotation, Annotation)

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

(継承元 Annotatable)
SetAnnotation(String, Annotation)

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

(継承元 Annotatable)
SetAnnotation(String, Object)

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

(継承元 Annotatable)
SetRuntimeAnnotation(String, Annotation, Annotation)

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

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

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

(継承元 AnnotatableBase)

明示的なインターフェイスの実装

Name 説明
IAnnotatable.AddRuntimeAnnotation(String, Object)

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

(継承元 AnnotatableBase)
IAnnotatable.FindAnnotation(String)

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

(継承元 Annotatable)
IAnnotatable.FindRuntimeAnnotation(String)

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

(継承元 AnnotatableBase)
IAnnotatable.GetAnnotations()

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

(継承元 Annotatable)
IAnnotatable.GetRuntimeAnnotations()

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

(継承元 AnnotatableBase)
IAnnotatable.RemoveRuntimeAnnotation(String)

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

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

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

(継承元 AnnotatableBase)
IMutableAnnotatable.AddAnnotation(String, Object)

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

(継承元 Annotatable)
IMutableAnnotatable.RemoveAnnotation(String)

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

(継承元 Annotatable)
IMutableAnnotatable.SetOrRemoveAnnotation(String, Object)

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

(継承元 Annotatable)
IReadOnlyAnnotatable.FindAnnotation(String)

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

(継承元 AnnotatableBase)
IReadOnlyAnnotatable.GetAnnotations()

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

(継承元 AnnotatableBase)
IReadOnlyAnnotatable.Item[String]

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

(継承元 AnnotatableBase)

拡張メソッド

Name 説明
AddAnnotations(IMutableAnnotatable, IEnumerable<IAnnotation>)

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

AnnotationsToDebugString(IAnnotatable, Int32)

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

GetAnnotation(IAnnotatable, String)

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

GetAnnotation(IMutableAnnotatable, String)

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

GetOrAddAnnotation(IMutableAnnotatable, String, String)

特定のキーを持つ既存の注釈を取得するか、存在しない場合は新しい注釈を追加します。

SetOrRemoveAnnotation(IMutableAnnotatable, String, Object)

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

適用対象