SqlServerReferenceReferenceBuilderExtensions SqlServerReferenceReferenceBuilderExtensions Class

SQL Server specific extension methods for ReferenceReferenceBuilder.

Syntax

Declaration

public static class SqlServerReferenceReferenceBuilderExtensionsPublic Module SqlServerReferenceReferenceBuilderExtensions

Inheritance Hierarchy

  • System.Object
    System.Object
  • SqlServerReferenceReferenceBuilderExtensions
    SqlServerReferenceReferenceBuilderExtensions

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 foreign key constraint name for this relationship when targeting SQL Server.

Configures the foreign key constraint name for this relationship when targeting SQL Server.

Methods

  • ForSqlServerHasConstraintName(ReferenceReferenceBuilder, String)
    ForSqlServerHasConstraintName(ReferenceReferenceBuilder, String)

    Configures the foreign key constraint name for this relationship when targeting SQL Server.

    public static ReferenceReferenceBuilder ForSqlServerHasConstraintName(this ReferenceReferenceBuilder referenceReferenceBuilder, string name)<ExtensionAttribute>
    Public Shared Function ForSqlServerHasConstraintName(referenceReferenceBuilder As ReferenceReferenceBuilder, name As String) As ReferenceReferenceBuilder

    Parameters

    Returns

  • ForSqlServerHasConstraintName<TEntity, TRelatedEntity>(ReferenceReferenceBuilder<TEntity, TRelatedEntity>, String)
    ForSqlServerHasConstraintName(Of TEntity, TRelatedEntity)(ReferenceReferenceBuilder(Of TEntity, TRelatedEntity), String)

    Configures the foreign key constraint name for this relationship when targeting SQL Server.

    public static ReferenceReferenceBuilder<TEntity, TRelatedEntity> ForSqlServerHasConstraintName<TEntity, TRelatedEntity>(this ReferenceReferenceBuilder<TEntity, TRelatedEntity> referenceReferenceBuilder, string name)where TEntity : class where TRelatedEntity : class<ExtensionAttribute>
    Public Shared Function ForSqlServerHasConstraintName(Of TEntity As Class, TRelatedEntity As Class)(referenceReferenceBuilder As ReferenceReferenceBuilder(Of TEntity, TRelatedEntity), name As String) As ReferenceReferenceBuilder(Of TEntity, TRelatedEntity)

    Parameters

    Returns

Details

Assembly

Microsoft.EntityFrameworkCore.SqlServer.dll