RelationalReferenceReferenceBuilderExtensions RelationalReferenceReferenceBuilderExtensions Class

Relational database specific extension methods for ReferenceReferenceBuilder.

Syntax

Declaration

public static class RelationalReferenceReferenceBuilderExtensionsPublic Module RelationalReferenceReferenceBuilderExtensions

Inheritance Hierarchy

  • System.Object
    System.Object
  • RelationalReferenceReferenceBuilderExtensions
    RelationalReferenceReferenceBuilderExtensions

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(ReferenceReferenceBuilder, String)
    HasConstraintName(ReferenceReferenceBuilder, String)

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

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

    Parameters

    Returns

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

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

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