RelationalPropertyExtensions.GetDefaultConstraintName Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
| Nazwisko | Opis |
|---|---|
| GetDefaultConstraintName(IReadOnlyProperty) |
Pobiera domyślną nazwę ograniczenia. |
| GetDefaultConstraintName(IReadOnlyProperty, StoreObjectIdentifier) |
Pobiera domyślną nazwę ograniczenia. |
GetDefaultConstraintName(IReadOnlyProperty)
Pobiera domyślną nazwę ograniczenia.
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
Parametry
- property
- IReadOnlyProperty
Właściwość.
Zwraca
Dotyczy
GetDefaultConstraintName(IReadOnlyProperty, StoreObjectIdentifier)
Pobiera domyślną nazwę ograniczenia.
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
Parametry
- property
- IReadOnlyProperty
Właściwość.
- storeObject
- StoreObjectIdentifier
Identyfikator obiektu magazynu w celu wygenerowania nazwy elementu .