Язык

RelationalPropertyExtensions.GetDefaultConstraintName Метод

Определение

Перегрузки

Имя. Описание
GetDefaultConstraintName(IReadOnlyProperty)

Возвращает имя ограничения по умолчанию.

GetDefaultConstraintName(IReadOnlyProperty, StoreObjectIdentifier)

Возвращает имя ограничения по умолчанию.

GetDefaultConstraintName(IReadOnlyProperty)

Исходный код:
RelationalPropertyExtensions.cs
Исходный код:
RelationalPropertyExtensions.cs

Возвращает имя ограничения по умолчанию.

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

Параметры

property
IReadOnlyProperty

Свойство.

Возвращаемое значение

Применяется к

GetDefaultConstraintName(IReadOnlyProperty, StoreObjectIdentifier)

Исходный код:
RelationalPropertyExtensions.cs
Исходный код:
RelationalPropertyExtensions.cs

Возвращает имя ограничения по умолчанию.

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

Параметры

property
IReadOnlyProperty

Свойство.

storeObject
StoreObjectIdentifier

Идентификатор объекта хранилища для создания имени.

Возвращаемое значение

Применяется к