Index Index Class

Definition

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public class Index : ConventionalAnnotatable, IMutableIndex, IIndex, IMutableAnnotatable, IAnnotatable
Public Class Index
    Inherits ConventionalAnnotatable
    Implements IMutableIndex, IIndex, IMutableAnnotatable, IAnnotatable
Inheritance
Implements

Constructors

Index(IReadOnlyList, EntityType, ConfigurationSource) Index(IReadOnlyList(Of Property), EntityType, ConfigurationSource)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public Index(IReadOnlyList<Property> properties, EntityType declaringEntityType, ConfigurationSource configurationSource)
Public Sub New(properties As IReadOnlyList(Of  Property), declaringEntityType As EntityType, configurationSource As ConfigurationSource)
Parameters
properties
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)
declaringEntityType
EntityType EntityType

Properties

Builder Builder

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual InternalIndexBuilder Builder { get; set; }
Public Overridable Property Builder As InternalIndexBuilder

DeclaringEntityType DeclaringEntityType

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual EntityType DeclaringEntityType { get; }
Public Overridable ReadOnly Property DeclaringEntityType As EntityType

IsUnique IsUnique

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual bool IsUnique { get; set; }
Public Overridable Property IsUnique As Boolean
Value
System.Boolean System.Boolean

Item[String] Item(String)

Inherited from Annotatable

Properties Properties

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual IReadOnlyList<Property> Properties { get; }
Public Overridable ReadOnly Property Properties As IReadOnlyList(Of  Property)
Value
System.Collections.Generic.IReadOnlyList<Property> System.Collections.Generic.IReadOnlyList(Of Property)

Methods

AddAnnotation(String, Annotation) AddAnnotation(String, Annotation)

Inherited from Annotatable

AddAnnotation(String, Object) AddAnnotation(String, Object)

Inherited from ConventionalAnnotatable

AddAnnotation(String, Object, ConfigurationSource) AddAnnotation(String, Object, ConfigurationSource)

Inherited from ConventionalAnnotatable

CreateAnnotation(String, Object) CreateAnnotation(String, Object)

Inherited from ConventionalAnnotatable

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

FindAnnotation(String) FindAnnotation(String)

Inherited from ConventionalAnnotatable

GetAnnotations() GetAnnotations()

Inherited from ConventionalAnnotatable

GetConfigurationSource() GetConfigurationSource()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual ConfigurationSource GetConfigurationSource()
Public Overridable Function GetConfigurationSource As ConfigurationSource
Returns

GetHashCode() GetHashCode()

Inherited from System.Object

GetIsUniqueConfigurationSource() GetIsUniqueConfigurationSource()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual ConfigurationSource? GetIsUniqueConfigurationSource()
Public Overridable Function GetIsUniqueConfigurationSource As ConfigurationSource?
Returns
System.Nullable<ConfigurationSource> System.Nullable(Of ConfigurationSource)

GetOrAddAnnotation(String, Object) GetOrAddAnnotation(String, Object)

Inherited from ConventionalAnnotatable

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

OnAnnotationSet(String, Annotation, Annotation) OnAnnotationSet(String, Annotation, Annotation)

Inherited from Annotatable

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

RemoveAnnotation(String) RemoveAnnotation(String)

Inherited from ConventionalAnnotatable

SetAnnotation(String, Annotation) SetAnnotation(String, Annotation)

Inherited from Annotatable

SetAnnotation(String, Object, ConfigurationSource) SetAnnotation(String, Object, ConfigurationSource)

Inherited from ConventionalAnnotatable

SetIsUnique(Boolean, ConfigurationSource) SetIsUnique(Boolean, ConfigurationSource)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void SetIsUnique(bool unique, ConfigurationSource configurationSource)
Public Overridable Sub SetIsUnique(unique As Boolean, configurationSource As ConfigurationSource)
Parameters
unique
System.Boolean System.Boolean

ToString() ToString()

Inherited from System.Object

UpdateConfigurationSource(ConfigurationSource) UpdateConfigurationSource(ConfigurationSource)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void UpdateConfigurationSource(ConfigurationSource configurationSource)
Public Overridable Sub UpdateConfigurationSource(configurationSource As ConfigurationSource)
Parameters

Explicit Interface Implementations

IAnnotatable.FindAnnotation(String) Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.FindAnnotation(String)

Inherited from Annotatable

IAnnotatable.GetAnnotations() Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable.GetAnnotations()

Inherited from Annotatable

IIndex.DeclaringEntityType Microsoft.EntityFrameworkCore.Metadata.IIndex.DeclaringEntityType

IEntityType IIndex.DeclaringEntityType { get; }
ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.IIndex.DeclaringEntityType As IEntityType Implements IIndex.DeclaringEntityType
Returns

IIndex.Properties Microsoft.EntityFrameworkCore.Metadata.IIndex.Properties

IReadOnlyList<IProperty> IIndex.Properties { get; }
ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.IIndex.Properties As IReadOnlyList(Of IProperty) Implements IIndex.Properties
Returns
System.Collections.Generic.IReadOnlyList<IProperty> System.Collections.Generic.IReadOnlyList(Of IProperty)

IMutableIndex.DeclaringEntityType Microsoft.EntityFrameworkCore.Metadata.IMutableIndex.DeclaringEntityType

IMutableEntityType IMutableIndex.DeclaringEntityType { get; }
ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.IMutableIndex.DeclaringEntityType As IMutableEntityType Implements IMutableIndex.DeclaringEntityType
Returns

IMutableIndex.Properties Microsoft.EntityFrameworkCore.Metadata.IMutableIndex.Properties

IReadOnlyList<IMutableProperty> IMutableIndex.Properties { get; }
ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.IMutableIndex.Properties As IReadOnlyList(Of IMutableProperty) Implements IMutableIndex.Properties
Returns
System.Collections.Generic.IReadOnlyList<IMutableProperty> System.Collections.Generic.IReadOnlyList(Of IMutableProperty)