RelationalPropertyExtensions.GetDefaultConstraintName Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
| Název | Description |
|---|---|
| GetDefaultConstraintName(IReadOnlyProperty) |
Získá výchozí název omezení. |
| GetDefaultConstraintName(IReadOnlyProperty, StoreObjectIdentifier) |
Získá výchozí název omezení. |
GetDefaultConstraintName(IReadOnlyProperty)
Získá výchozí název omezení.
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
Vlastnost.
Návraty
Platí pro
GetDefaultConstraintName(IReadOnlyProperty, StoreObjectIdentifier)
Získá výchozí název omezení.
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
Vlastnost.
- storeObject
- StoreObjectIdentifier
Identifikátor objektu úložiště pro vygenerování názvu.