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)

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

(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)

Adds an annotation to this object. Throws if an annotation with the specified name already exists.

(Inherited from Annotatable)

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

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.

(Inherited from ConventionalAnnotatable)

AddAnnotation(String, Object, ConfigurationSource) AddAnnotation(String, Object, 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.

(Inherited from ConventionalAnnotatable)

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

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.

(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)

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.

(Inherited from ConventionalAnnotatable)

GetAnnotations() GetAnnotations()

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.

(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)

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.

(Inherited from ConventionalAnnotatable)

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

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

Runs the corresponding conventions when an annotation was set or removed.

(Inherited from Annotatable)

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

Inherited from System.Object

RemoveAnnotation(String) RemoveAnnotation(String)

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.

(Inherited from ConventionalAnnotatable)

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

Sets the annotation stored under the given key. Overwrites the existing annotation if an annotation with the specified name already exists.

(Inherited from Annotatable)

SetAnnotation(String, Object, ConfigurationSource) SetAnnotation(String, Object, 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.

(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)

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

(Inherited from Annotatable)

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

Gets all annotations on the current object.

(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)