Aracılığıyla paylaş


RelationalTypeMapper.RequiresKeyMapping(IProperty) Yöntem

Tanım

Verilen özelliğin anahtar özellikleri için uygun bir veritabanı türü kullanıp kullanmayacağını belirten bir değer alır.

protected virtual bool RequiresKeyMapping (Microsoft.EntityFrameworkCore.Metadata.IProperty property);
abstract member RequiresKeyMapping : Microsoft.EntityFrameworkCore.Metadata.IProperty -> bool
override this.RequiresKeyMapping : Microsoft.EntityFrameworkCore.Metadata.IProperty -> bool
Protected Overridable Function RequiresKeyMapping (property As IProperty) As Boolean

Parametreler

property
IProperty

Eşlemesini almak için özellik.

Döndürülenler

Özellik bir anahtarsa True, aksi takdirde false.

Şunlara uygulanır