DropForeignKeyOperation

Classes > Migration > DropForeignKeyOperation

Drop a foreign key constraint.

public sealed record DropForeignKeyOperation : SchemaOperation, IEquatable<SchemaOperation>, IEquatable<DropForeignKeyOperation>

Constructors

DropForeignKeyOperation

public DropForeignKeyOperation(string Schema, string TableName, string ConstraintName)

Drop a foreign key constraint.

Parameter Type Description
Schema String
TableName String
ConstraintName String

Properties

Schema

public string Schema { get; init; }

TableName

public string TableName { get; init; }

ConstraintName

public string ConstraintName { get; init; }