ValueGeneratorFactory.Create Yöntem

Tanım

Aşırı Yüklemeler

Create(IProperty)
Kullanımdan kalktı.

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

Create(IProperty, IEntityType)

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

Create(IProperty)

Dikkat

Use the overload with most parameters

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

public abstract Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator Create (Microsoft.EntityFrameworkCore.Metadata.IProperty property);
[System.Obsolete("Use the overload with most parameters")]
public virtual Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator Create (Microsoft.EntityFrameworkCore.Metadata.IProperty property);
abstract member Create : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator
[<System.Obsolete("Use the overload with most parameters")>]
abstract member Create : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator
override this.Create : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator
Public MustOverride Function Create (property As IProperty) As ValueGenerator
Public Overridable Function Create (property As IProperty) As ValueGenerator

Parametreler

property
IProperty

İçin değer oluşturucuyu oluşturma özelliği.

Döndürülenler

ValueGenerator

Yeni oluşturulan değer Oluşturucu.

Öznitelikler

Açıklamalar

Daha fazla bilgi için bkz. EF Core değer üretimi .

Şunlara uygulanır

Create(IProperty, IEntityType)

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

public abstract 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
Public MustOverride Function Create (property As IProperty, entityType As IEntityType) As ValueGenerator

Parametreler

property
IProperty

İçin değer oluşturucuyu oluşturma özelliği.

entityType
IEntityType

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

Döndürülenler

ValueGenerator

Yeni oluşturulan değer Oluşturucu.

Açıklamalar

Daha fazla bilgi için bkz. EF Core değer üretimi .

Şunlara uygulanır