Share via


RelationalPropertyExtensions.GetDefaultConstraintName Method

Definition

Overloads

Name Description
GetDefaultConstraintName(IReadOnlyProperty)

Gets the default constraint name.

GetDefaultConstraintName(IReadOnlyProperty, StoreObjectIdentifier)

Gets the default constraint name.

GetDefaultConstraintName(IReadOnlyProperty)

Source:
RelationalPropertyExtensions.cs

Gets the default constraint name.

public static string? GetDefaultConstraintName(this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
static member GetDefaultConstraintName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> string
<Extension()>
Public Function GetDefaultConstraintName (property As IReadOnlyProperty) As String

Parameters

property
IReadOnlyProperty

The property.

Returns

Applies to

GetDefaultConstraintName(IReadOnlyProperty, StoreObjectIdentifier)

Source:
RelationalPropertyExtensions.cs

Gets the default constraint name.

public static string? GetDefaultConstraintName(this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetDefaultConstraintName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty * StoreObjectIdentifier -> string
<Extension()>
Public Function GetDefaultConstraintName (property As IReadOnlyProperty, ByRef storeObject As StoreObjectIdentifier) As String

Parameters

property
IReadOnlyProperty

The property.

storeObject
StoreObjectIdentifier

The store object identifier to generate the name for.

Returns

Applies to