RelationalKeyAnnotations Sınıf

Tanım

İle erişilen, ilişkisel özel ek açıklamaların özellikleri Relational(IMutableKey) .

public class RelationalKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IRelationalKeyAnnotations
type RelationalKeyAnnotations = class
    interface IRelationalKeyAnnotations
Public Class RelationalKeyAnnotations
Implements IRelationalKeyAnnotations
Devralma
RelationalKeyAnnotations
Türetilmiş
Uygulamalar

Oluşturucular

RelationalKeyAnnotations(IKey)

Verilen ek açıklamalar için bir örnek oluşturur IKey .

RelationalKeyAnnotations(IKey, RelationalFullAnnotationNames)
RelationalKeyAnnotations(RelationalAnnotations)

IKeyVerilen ek açıklama yardımcısı tarafından temsil edilen ek açıklamalar için bir örnek oluşturur.

RelationalKeyAnnotations(RelationalAnnotations, RelationalFullAnnotationNames)

Alanlar

DefaultAlternateKeyNamePrefix
DefaultPrimaryKeyNamePrefix
ProviderFullAnnotationNames

Özellikler

Annotations

RelationalAnnotationsNot eklemek için öğesini temsil eden yardımcı IKey .

Key

IKeyNot eklemek için.

Name

Anahtar kısıtlaması adı.

Yöntemler

GetAnnotations(IEntityType)
GetAnnotations(IProperty)
GetDefaultKeyName(String, Boolean, IEnumerable<String>)
GetDefaultName()
SetName(String)

Kullanımdaki Name öğesinin semantiğini kullanarak ayarlamaya çalışır RelationalAnnotations .

Şunlara uygulanır