AlterSequenceOperation 클래스

정의

MigrationOperation 기존 시퀀스를 변경하는 입니다.

public class AlterSequenceOperation : Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation
public class AlterSequenceOperation : Microsoft.EntityFrameworkCore.Migrations.Operations.SequenceOperation, Microsoft.EntityFrameworkCore.Migrations.Operations.IAlterMigrationOperation
[System.Diagnostics.DebuggerDisplay("ALTER SEQUENCE {Name}")]
public class AlterSequenceOperation : Microsoft.EntityFrameworkCore.Migrations.Operations.SequenceOperation, Microsoft.EntityFrameworkCore.Migrations.Operations.IAlterMigrationOperation
type AlterSequenceOperation = class
    inherit MigrationOperation
type AlterSequenceOperation = class
    inherit SequenceOperation
    interface IAlterMigrationOperation
[<System.Diagnostics.DebuggerDisplay("ALTER SEQUENCE {Name}")>]
type AlterSequenceOperation = class
    inherit SequenceOperation
    interface IAlterMigrationOperation
Public Class AlterSequenceOperation
Inherits MigrationOperation
Public Class AlterSequenceOperation
Inherits SequenceOperation
Implements IAlterMigrationOperation
상속
AlterSequenceOperation
상속
상속
특성
구현

설명

자세한 내용 및 예제는 데이터베이스 마이그레이션 을 참조하세요.

생성자

AlterSequenceOperation()

MigrationOperation 기존 시퀀스를 변경하는 입니다.

속성

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

시퀀스의 이름입니다.

OldSequence

시퀀스를 변경하기 전과 같이 나타내는 작업입니다.

Schema

시퀀스를 포함하는 스키마이거나 null 기본 스키마를 사용해야 하는 경우 입니다.

메서드

AddAnnotation(String, Annotation)

이 개체에 주석을 추가합니다. 지정된 이름의 주석이 이미 있는 경우 을 throw합니다.

(다음에서 상속됨 Annotatable)
AddAnnotation(String, Object)

이 개체에 주석을 추가합니다. 지정된 이름의 주석이 이미 있는 경우 을 throw합니다.

(다음에서 상속됨 Annotatable)
AddAnnotations(IEnumerable<IAnnotation>)

이 개체에 주석을 추가합니다.

(다음에서 상속됨 AnnotatableBase)
AddAnnotations(IReadOnlyDictionary<String,Object>)

이 개체에 주석을 추가합니다.

(다음에서 상속됨 AnnotatableBase)
AddRuntimeAnnotation(String, Annotation)

이 개체에 런타임 주석을 추가합니다. 지정된 이름의 주석이 이미 있는 경우 을 throw합니다.

(다음에서 상속됨 AnnotatableBase)
AddRuntimeAnnotation(String, Object)

이 개체에 런타임 주석을 추가합니다. 지정된 이름의 주석이 이미 있는 경우 을 throw합니다.

(다음에서 상속됨 AnnotatableBase)
AddRuntimeAnnotations(IEnumerable<Annotation>)

이 개체에 런타임 주석을 추가합니다.

(다음에서 상속됨 AnnotatableBase)
AddRuntimeAnnotations(IReadOnlyDictionary<String,Object>)

이 개체에 런타임 주석을 추가합니다.

(다음에서 상속됨 AnnotatableBase)
CreateAnnotation(String, Object)

새 주석을 만듭니다.

(다음에서 상속됨 Annotatable)
CreateRuntimeAnnotation(String, Object)

새 런타임 주석을 만듭니다.

(다음에서 상속됨 AnnotatableBase)
EnsureMutable()

모델이 읽기 전용인 경우 을 throw합니다.

(다음에서 상속됨 Annotatable)
EnsureReadOnly()

모델이 읽기 전용이 아닌 경우 을 throw합니다.

(다음에서 상속됨 Annotatable)
FindAnnotation(String)

지정된 이름의 주석을 가져오고 없는 경우 를 반환합니다 null .

(다음에서 상속됨 Annotatable)
FindRuntimeAnnotation(String)

지정된 이름의 런타임 주석을 가져오고 존재하지 않는 경우 를 반환합니다 null .

(다음에서 상속됨 AnnotatableBase)
GetAnnotation(String)

지정된 이름의 주석을 가져오고, 없는 경우 을 throw합니다.

(다음에서 상속됨 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)

지정된 키 아래에 저장된 주석을 설정합니다. 지정된 이름의 주석이 이미 있는 경우 기존 주석을 덮어씁니다.

(다음에서 상속됨 Annotatable)
SetAnnotation(String, Annotation, Annotation)

지정된 키 아래에 저장된 주석을 설정합니다. 지정된 이름의 주석이 이미 있는 경우 기존 주석을 덮어씁니다.

(다음에서 상속됨 Annotatable)
SetAnnotation(String, Object)

지정된 키 아래에 저장된 주석을 설정합니다. 지정된 이름의 주석이 이미 있는 경우 기존 주석을 덮어씁니다.

(다음에서 상속됨 Annotatable)
SetRuntimeAnnotation(String, Annotation, Annotation)

지정된 키 아래에 저장된 런타임 주석을 설정합니다. 지정된 이름의 주석이 이미 있는 경우 기존 주석을 덮어씁니다.

(다음에서 상속됨 AnnotatableBase)
SetRuntimeAnnotation(String, Object)

지정된 키 아래에 저장된 런타임 주석을 설정합니다. 지정된 이름의 주석이 이미 있는 경우 기존 주석을 덮어씁니다.

(다음에서 상속됨 AnnotatableBase)

명시적 인터페이스 구현

IAlterMigrationOperation.OldAnnotations

OldSequence 주석을 검사하기 위해 노출된 입니다.

IAnnotatable.AddRuntimeAnnotation(String, Object)

이 개체에 런타임 주석을 추가합니다. 지정된 이름의 주석이 이미 있는 경우 을 throw합니다.

(다음에서 상속됨 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)

이 개체에 주석을 추가합니다. 지정된 이름의 주석이 이미 있는 경우 을 throw합니다.

(다음에서 상속됨 Annotatable)
IMutableAnnotatable.RemoveAnnotation(String)

이 개체에서 지정된 주석을 제거합니다.

(다음에서 상속됨 Annotatable)
IMutableAnnotatable.SetOrRemoveAnnotation(String, Object)

지정된 이름 아래에 저장된 주석을 설정합니다. 지정된 이름의 주석이 이미 있는 경우 기존 주석을 덮어씁니다. 가 제공된 경우 null 기존 주석을 제거합니다.

(다음에서 상속됨 Annotatable)
IReadOnlyAnnotatable.FindAnnotation(String)

지정된 이름의 주석을 가져오고 없는 경우 를 반환합니다 null .

(다음에서 상속됨 AnnotatableBase)
IReadOnlyAnnotatable.GetAnnotations()

현재 개체의 모든 주석을 가져옵니다.

(다음에서 상속됨 AnnotatableBase)
IReadOnlyAnnotatable.Item[String]

지정된 이름의 주석 값을 가져오고 없는 경우 를 반환합니다 null .

(다음에서 상속됨 AnnotatableBase)

확장 메서드

AnnotationsToDebugString(IAnnotatable, Int32)

개체에 선언된 모든 주석에 대한 디버그 문자열을 가져옵니다.

GetAnnotation(IAnnotatable, String)

지정된 이름의 주석을 가져오고, 없는 경우 을 throw합니다.

AddAnnotations(IMutableAnnotatable, IEnumerable<IAnnotation>)

개체에 주석을 추가합니다.

GetAnnotation(IMutableAnnotatable, String)

지정된 이름의 주석을 가져오고, 없는 경우 을 throw합니다.

GetOrAddAnnotation(IMutableAnnotatable, String, String)

지정된 키가 있는 기존 주석을 가져오거나 없는 경우 새 주석을 추가합니다.

SetOrRemoveAnnotation(IMutableAnnotatable, String, Object)

지정된 이름 아래에 저장된 주석을 설정합니다. 지정된 이름의 주석이 이미 있는 경우 기존 주석을 덮어씁니다. 가 제공된 경우 null 기존 주석을 제거합니다.

적용 대상