SqlServerIndexBuilderExtensions SqlServerIndexBuilderExtensions Class

Definition

SQL Server specific extension methods for IndexBuilder.

public static class SqlServerIndexBuilderExtensions
Public Module SqlServerIndexBuilderExtensions
Inheritance
System.ObjectSystem.Object
SqlServerIndexBuilderExtensionsSqlServerIndexBuilderExtensions

Methods

Equals(Object) Equals(Object)

Inherited from System.Object

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

Inherited from System.Object

ForSqlServerHasName(IndexBuilder, String) ForSqlServerHasName(IndexBuilder, String)

Configures the name of the index in the database when targeting SQL Server.

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

The builder for the index being configured.

name
System.String System.String

The name of the index.

Returns

A builder to further configure the index.

ForSqlServerIsClustered(IndexBuilder, Boolean) ForSqlServerIsClustered(IndexBuilder, Boolean)

Configures whether the index is clustered when targeting SQL Server.

public static IndexBuilder ForSqlServerIsClustered(this IndexBuilder indexBuilder, bool clustered = true)
<ExtensionAttribute>
Public Shared Function ForSqlServerIsClustered(indexBuilder As IndexBuilder, clustered As Boolean = True) As IndexBuilder
Parameters
indexBuilder
IndexBuilder IndexBuilder

The builder for the index being configured.

clustered
System.Boolean System.Boolean

A value indicating whether the index is clustered.

Returns

A builder to further configure the index.

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

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

Inherited from System.Object

ToString() ToString()

Inherited from System.Object