IValueGeneratorSelector.Select(IProperty, IEntityType) Yöntem

Tanım

Belirli bir özellik için uygun değer oluşturucuyu seçer.

public Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator Select (Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
abstract member Select : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator
Public Function Select (property As IProperty, entityType As IEntityType) As ValueGenerator

Parametreler

property
IProperty

İçin değer oluşturucunun alınacağı özellik.

entityType
IEntityType

Değer oluşturucusunun kullanacağı varlık türü. Türetilmiş varlık türlerinde devralınan özelliklerde çağrıldığında, bu varlık türü, üzerinde tanımlanan varlık türünden farklı olabilir property

Döndürülenler

ValueGenerator

Kullanılacak değer Oluşturucu.

Şunlara uygulanır