RelationalValueGeneratorSelector.Create(IProperty, IEntityType) Yöntem

Tanım

Verilen özellik için yeni bir değer Oluşturucu oluşturur.

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

Yeni oluşturulan değer Oluşturucu.

Şunlara uygulanır