RelationalReferenceReferenceBuilderExtensions RelationalReferenceReferenceBuilderExtensions Class

Definition

Relational database specific extension methods for ReferenceReferenceBuilder.

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

Methods

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

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.

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object