Table of Contents

Class DropUniqueConstraintOperation

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

A MigrationOperation for dropping an existing unique constraint.

public class DropUniqueConstraintOperation : MigrationOperation, ITableMigrationOperation
Inheritance
DropUniqueConstraintOperation
Implements
Inherited Members

Constructors

DropUniqueConstraintOperation()

public DropUniqueConstraintOperation()

Properties

Name

The name of the constraint.

public virtual string Name { get; set; }

Property Value

string

Schema

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

public virtual string Schema { get; set; }

Property Value

string

Table

The table that contains the constraint.

public virtual string Table { get; set; }

Property Value

string