ConventionEntityTypeExtensions.RemoveKey(IConventionEntityType, IReadOnlyList<IConventionProperty>) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Bu varlık türünden bir birincil veya alternatif anahtarı kaldırır.
public static Microsoft.EntityFrameworkCore.Metadata.IConventionKey RemoveKey (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty> properties);
static member RemoveKey : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty> -> Microsoft.EntityFrameworkCore.Metadata.IConventionKey
<Extension()>
Public Function RemoveKey (entityType As IConventionEntityType, properties As IReadOnlyList(Of IConventionProperty)) As IConventionKey
Parametreler
- entityType
- IConventionEntityType
Varlık türü.
- properties
- IReadOnlyList<IConventionProperty>
Anahtarın neden olduğu özellikler.
Döndürülenler
Kaldırılan anahtar.