RelationalReferenceCollectionBuilderExtensions RelationalReferenceCollectionBuilderExtensions Class

Relational database specific extension methods for ReferenceCollectionBuilder.

Syntax

Declaration

public static class RelationalReferenceCollectionBuilderExtensionsPublic Module RelationalReferenceCollectionBuilderExtensions

Inheritance Hierarchy

  • System.Object
    System.Object
  • RelationalReferenceCollectionBuilderExtensions
    RelationalReferenceCollectionBuilderExtensions

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 a relational database.

Configures the foreign key constraint name for this relationship when targeting a relational database.

Methods

  • HasConstraintName(ReferenceCollectionBuilder, String)
    HasConstraintName(ReferenceCollectionBuilder, String)

    Configures the foreign key constraint name for this relationship when targeting a relational database.

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

    Parameters

    Returns

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

    Configures the foreign key constraint name for this relationship when targeting a relational database.

    public static ReferenceCollectionBuilder<TEntity, TRelatedEntity> HasConstraintName<TEntity, TRelatedEntity>(this ReferenceCollectionBuilder<TEntity, TRelatedEntity> referenceCollectionBuilder, string name)where TEntity : class where TRelatedEntity : class<ExtensionAttribute>
    Public Shared Function HasConstraintName(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.Relational.dll