RelationalIndexBuilderExtensions RelationalIndexBuilderExtensions Class

Relational database specific extension methods for IndexBuilder.

Syntax

Declaration

public static class RelationalIndexBuilderExtensionsPublic Module RelationalIndexBuilderExtensions

Inheritance Hierarchy

  • System.Object
    System.Object
  • RelationalIndexBuilderExtensions
    RelationalIndexBuilderExtensions

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Methods summary

Configures the name of the index in the database when targeting a relational database.

Methods

  • HasName(IndexBuilder, String)
    HasName(IndexBuilder, String)

    Configures the name of the index in the database when targeting a relational database.

    public static IndexBuilder HasName(this IndexBuilder indexBuilder, string name)<ExtensionAttribute>
    Public Shared Function HasName(indexBuilder As IndexBuilder, name As String) As IndexBuilder

    Parameters

    • indexBuilder

      The builder for the index being configured.

    • name
      System.String
      System.String

      The name of the index.

    Returns

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.dll