CreateIndexOperation

Classes > Migration > CreateIndexOperation

Create an index on a table.

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

Constructors

CreateIndexOperation

public CreateIndexOperation(string Schema, string TableName, IndexDefinition Index)

Create an index on a table.

Parameter Type Description
Schema String
TableName String
Index IndexDefinition

Properties

Schema

public string Schema { get; init; }

TableName

public string TableName { get; init; }

Index

public IndexDefinition Index { get; init; }