RelationalReferenceReferenceBuilderExtensions RelationalReferenceReferenceBuilderExtensions Class

Definition

Relational database specific extension methods for ReferenceReferenceBuilder.

public static class RelationalReferenceReferenceBuilderExtensions
Public Module RelationalReferenceReferenceBuilderExtensions
Inheritance
System.ObjectSystem.Object
RelationalReferenceReferenceBuilderExtensionsRelationalReferenceReferenceBuilderExtensions

Inherited Members

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

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
referenceReferenceBuilder
ReferenceReferenceBuilder ReferenceReferenceBuilder

The builder being used to configure the relationship.

name
System.String System.String

The name of the foreign key constraint.

Returns

The same builder instance so that multiple calls can be chained.

HasConstraintName(ReferenceReferenceBuilder, 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)
Type Parameters
TEntity

The entity type on one end of the relationship.

TRelatedEntity

The entity type on the other end of the relationship.

Parameters
referenceReferenceBuilder
ReferenceReferenceBuilder<TEntity, TRelatedEntity> ReferenceReferenceBuilder(Of TEntity, TRelatedEntity)

The builder being used to configure the relationship.

name
System.String System.String

The name of the foreign key constraint.

Returns
ReferenceReferenceBuilder<TEntity, TRelatedEntity> ReferenceReferenceBuilder(Of TEntity, TRelatedEntity)

The same builder instance so that multiple calls can be chained.