RelationalTypeMapper.RequiresKeyMapping(IProperty) Yöntem

Tanım

Verilen özelliğin, anahtar özellikleri için uygun bir veritabanı türü kullanıp kullanmayacağını gösteren 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 özelliği.

Döndürülenler

Boolean

Özellik bir anahtar ise true, aksi durumda false.

Şunlara uygulanır