.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. Microsoft.EntityFrameworkCore.Metadata.Builders
  3. IndexBuilder<T>
  4. HasName<TEntity>(IndexBuilder<TEntity>, String)
  • IndexBuilder<T>
    • IndexBuilder(IMutableIndex)
    • IndexBuilder(InternalIndexBuilder)
    • HasAnnotation(String, Object)
    • IsDescending(Boolean[])
    • IsUnique(Boolean)
    • ForSqlServerInclude<TEntity>(IndexBuilder<TEntity>, Expression<Func<TEntity, Object>>)
    • ForSqlServerIsClustered<TEntity>(IndexBuilder<TEntity>, Boolean)
    • ForVectors<TEntity>(IndexBuilder<TEntity>, Nullable<VectorIndexType>)
    • HasDatabaseName<TEntity>(IndexBuilder<TEntity>, String)
    • HasFillFactor<TEntity>(IndexBuilder<TEntity>, Int32)
    • HasFilter<TEntity>(IndexBuilder<TEntity>, String)
    • HasName<TEntity>(IndexBuilder<TEntity>, String)
    • IncludeProperties<TEntity>(IndexBuilder<TEntity>, String[])
    • IncludeProperties<TEntity>(IndexBuilder<TEntity>, Expression<Func<TEntity, Object>>)
    • IsClustered<TEntity>(IndexBuilder<TEntity>, Boolean)
    • IsCreatedOnline<TEntity>(IndexBuilder<TEntity>, Boolean)
    • SortInTempDb<TEntity>(IndexBuilder<TEntity>, Boolean)
    • UseDataCompression<TEntity>(IndexBuilder<TEntity>, DataCompressionType)
netcoreapp2.2
namespace Microsoft.EntityFrameworkCore
{
    public static class RelationalIndexBuilderExtensions
    {
        public static IndexBuilder<TEntity> HasName<TEntity>(this IndexBuilder<TEntity> indexBuilder, string name);
    }
}
.NET Core 2.2
Information specific to netcoreapp2.2
Assembly

Microsoft.EntityFrameworkCore.Relational , Version=2.2.6.0, PublicKeyToken=adb9793829ddae60

Referencing

The API is automatically referenced.

Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API
Search

03/18/2025
An error has occurred. This application may no longer respond until reloaded. Reload 🗙