Aracılığıyla paylaş


DiscriminatorValueGeneratorFactory.Create Yöntem

Tanım

Aşırı Yüklemeler

Create(IProperty, IEntityType)

Yeni bir değer oluşturucu oluşturur.

Create(IProperty, ITypeBase)

Yeni bir değer oluşturucu oluşturur.

Create(IProperty, IEntityType)

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

Değer oluşturucunun oluşturulacağı özellik.

entityType
IEntityType

Değer oluşturucunun kullanılacağı varlık türü.

Döndürülenler

Yeni oluşturulan değer oluşturucu.

Şunlara uygulanır

Create(IProperty, ITypeBase)

Yeni bir değer oluşturucu oluşturur.

public override Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator Create (Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Metadata.ITypeBase entityType);
override this.Create : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Metadata.ITypeBase -> Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator
Public Overrides Function Create (property As IProperty, entityType As ITypeBase) As ValueGenerator

Parametreler

property
IProperty

Değer oluşturucunun oluşturulacağı özellik.

entityType
ITypeBase

Döndürülenler

Yeni oluşturulan değer oluşturucu.

Şunlara uygulanır