SqlServerReferenceCollectionBuilderExtensions SqlServerReferenceCollectionBuilderExtensions Class

SQL Server specific extension methods for ReferenceCollectionBuilder.

Syntax

Declaration

public static class SqlServerReferenceCollectionBuilderExtensionsPublic Module SqlServerReferenceCollectionBuilderExtensions

Inheritance Hierarchy

  • System.Object
    System.Object
  • SqlServerReferenceCollectionBuilderExtensions
    SqlServerReferenceCollectionBuilderExtensions

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(ReferenceCollectionBuilder, String)
    ForSqlServerHasConstraintName(ReferenceCollectionBuilder, String)

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

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

    Parameters

    Returns

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

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

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

    Parameters

    Returns

Details

Assembly

Microsoft.EntityFrameworkCore.SqlServer.dll