IIndex IIndex Interface

Definition

Represents an index on a set of properties.

public interface IIndex : IAnnotatable
Public Interface IIndex
    Inherits IAnnotatable

Properties

DeclaringEntityType DeclaringEntityType

Gets the entity type the index is defined on. This may be different from the type that Properties are defined on when the index is defined a derived type in an inheritance hierarchy (since the properties may be defined on a base type).

IEntityType DeclaringEntityType { get; }
ReadOnly Property DeclaringEntityType As IEntityType

IsUnique IsUnique

Gets a value indicating whether the values assigned to the indexed properties are unique.

bool IsUnique { get; }
ReadOnly Property IsUnique As Boolean
Value
System.Boolean System.Boolean

Item[String] Item(String)

Gets the value annotation with the given name, returning null if it does not exist.

(Inherited from IAnnotatable)

Properties Properties

Gets the properties that this index is defined on.

IReadOnlyList<IProperty> Properties { get; }
ReadOnly Property Properties As IReadOnlyList(Of IProperty)
Value
System.Collections.Generic.IReadOnlyList<IProperty> System.Collections.Generic.IReadOnlyList(Of IProperty)

Methods

FindAnnotation(String) FindAnnotation(String)

Gets the annotation with the given name, returning null if it does not exist.

(Inherited from IAnnotatable)

GetAnnotations() GetAnnotations()

Gets all annotations on the current object.

(Inherited from IAnnotatable)