ValueGeneratorSelector.Select(IProperty, IEntityType) Yöntem

Tanım

Belirli bir özellik için uygun değer oluşturucusünü seçer.

public virtual 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
override this.Select : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator
Public Overridable Function Select (property As IProperty, entityType As IEntityType) As ValueGenerator

Parametreler

property
IProperty

için değer oluşturucusünü almak için özelliği.

entityType
IEntityType

Değer oluşturucu tarafından kullanılacak varlık türü. Türetilmiş varlık türlerinde devralınmış özelliklerde çağrıldıklarından, bu varlık türü, üzerinde bildirilen varlık türünden farklı olabilir property

Döndürülenler

ValueGenerator

Kullanılacak değer oluşturucu.

Uygulamalar

Şunlara uygulanır