RelationalKeyBuilderExtensions RelationalKeyBuilderExtensions Class

Definition

Relational database specific extension methods for KeyBuilder.

public static class RelationalKeyBuilderExtensions
Public Module RelationalKeyBuilderExtensions
Inheritance
System.ObjectSystem.Object
RelationalKeyBuilderExtensionsRelationalKeyBuilderExtensions

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

HasName(KeyBuilder, String) HasName(KeyBuilder, String)

Configures the name of the key constraint in the database when targeting a relational database.

public static KeyBuilder HasName(this KeyBuilder keyBuilder, string name)
<ExtensionAttribute>
Public Shared Function HasName(keyBuilder As KeyBuilder, name As String) As KeyBuilder
Parameters
keyBuilder
KeyBuilder KeyBuilder

The builder for the key being configured.

name
System.String System.String

The name of the key.

Returns

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