Table of Contents

Interface INeosIndex

Namespace
GroupeIsa.Neos.Migration.Schema
Assembly
GroupeIsa.Neos.Migration.Abstractions.dll

Provides the functionalities of an index.

public interface INeosIndex : IEquatable<INeosIndex>
Inherited Members

Properties

Columns

Gets or sets the columns.

ReadOnlyArray<INeosIndexColumn> Columns { get; set; }

Property Value

ReadOnlyArray<INeosIndexColumn>

Filter

Gets or sets the EFFECTIVE index filter for the active database provider (Sql Server and PostgreSql only). It is the value that CreateIndex applies and that comparison uses. A runtime IExpectedSchemaProvider decorator sets it from the engine-specific carrier (SqlServerFilter / PostgreSqlFilter / OracleFilter), mirroring how ComputedExpression relates to its per-engine carriers.

string? Filter { get; set; }

Property Value

string

Name

Gets or sets the name.

string Name { get; set; }

Property Value

string

OracleFilter

Gets or sets the authored index filter for Oracle. This is a transient carrier emitted by the generator and consumed (then nulled) by the runtime decorator; it is NOT part of comparison.

string? OracleFilter { get; set; }

Property Value

string

PostgreSqlFilter

Gets or sets the authored index filter for PostgreSQL. This is a transient carrier emitted by the generator and consumed (then nulled) by the runtime decorator; it is NOT part of comparison.

string? PostgreSqlFilter { get; set; }

Property Value

string

SqlServerFilter

Gets or sets the authored index filter for SQL Server. This is a transient carrier emitted by the generator and consumed (then nulled) by the runtime decorator; it is NOT part of comparison.

string? SqlServerFilter { get; set; }

Property Value

string

TableName

Gets or sets the name of the table.

string TableName { get; set; }

Property Value

string

Unique

Gets or sets a value indicating whether the index is unique or not.

bool Unique { get; set; }

Property Value

bool