Table of Contents

Class CreateSequenceOperation

Namespace
Microsoft.EntityFrameworkCore.Migrations.Operations
Assembly
Microsoft.EntityFrameworkCore.Relational.dll

A MigrationOperation for creating a new sequence.

public class CreateSequenceOperation : SequenceOperation
Inheritance
CreateSequenceOperation
Inherited Members

Constructors

CreateSequenceOperation()

public CreateSequenceOperation()

Properties

ClrType

The CLR Type of values returned from the sequence.

public virtual Type ClrType { get; set; }

Property Value

Type

Name

The name of the sequence.

public virtual string Name { get; set; }

Property Value

string

Schema

The schema that contains the sequence, or null if the default schema should be used.

public virtual string Schema { get; set; }

Property Value

string

StartValue

The value at which the sequence will start counting, defaulting to 1.

public virtual long StartValue { get; set; }

Property Value

long