ValueGeneratorSelector.Create(IProperty, IEntityType) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Verilen özellik için yeni bir değer oluşturucu oluşturur.
public virtual Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator Create (Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
abstract member Create : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator
override this.Create : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator
Public Overridable Function Create (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
Yeni oluşturulan değer oluşturucu.