Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats Top APIs
    Version Source
  1. Catalog
  2. Microsoft.EntityFrameworkCore.Metadata.Internal
  3. Index
  4. SetIsUnique(Boolean?, ConfigurationSource)
  • Index
    • Index(IReadOnlyList<Property>, EntityType, ConfigurationSource)
    • Index(IReadOnlyList<Property>, String, EntityType, ConfigurationSource)
    • Builder
    • DebugView
    • DeclaringEntityType
    • IsDescending
    • IsInModel
    • IsReadOnly
    • IsUnique
    • Name
    • Properties
    • DisplayName()
    • GetConfigurationSource()
    • GetIsDescendingConfigurationSource()
    • GetIsUniqueConfigurationSource()
    • GetNullableValueFactory<TKey>()
    • OnAnnotationSet(String, IConventionAnnotation, IConventionAnnotation)
    • SetIsDescending(IReadOnlyList<Boolean>, ConfigurationSource)
    • SetIsUnique(Boolean?, ConfigurationSource)
    • SetRemovedFromModel()
    • ToString()
    • UpdateConfigurationSource(ConfigurationSource)
net10.0
namespace Microsoft.EntityFrameworkCore.Metadata.Internal
{
    public class Index : ConventionAnnotatable, IAnnotatable, IReadOnlyAnnotatable, IConventionAnnotatable, IConventionIndex, IIndex, IMutableAnnotatable, IMutableIndex, IReadOnlyIndex
    {
        public virtual bool? SetIsUnique(bool? unique, ConfigurationSource configurationSource);
    }
}
.NET
10.0
Information specific to net10.0
Assembly

Microsoft.EntityFrameworkCore , Version=10.0.1.0, PublicKeyToken=adb9793829ddae60

Referencing

Your project needs a package reference to Microsoft.EntityFrameworkCore.

Package Microsoft.EntityFrameworkCore (10.0.1) net10.0
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API
Search

01/12/2026
An error has occurred. This application may no longer respond until reloaded. Reload 🗙