Dil

ValueGeneratorFactory.Create Yöntem

Tanım

Aşırı Yüklemeler

Veri Akışı Adı Description
Create(IProperty)
Geçersiz.

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

Create(IProperty, IEntityType)

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

Create(IProperty, ITypeBase)

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

Create(IProperty)

Kaynak:
ValueGeneratorFactory.cs

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

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

Döndürülenler

Yeni oluşturulan değer oluşturucu.

Özellikler

Açıklamalar

Daha fazla bilgi için bkz. EF Core değer oluşturma .

Şunlara uygulanır

Create(IProperty, IEntityType)

Kaynak:
ValueGeneratorFactory.cs
Kaynak:
ValueGeneratorFactory.cs

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

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.

Açıklamalar

Daha fazla bilgi ve örnek için bkz. EF Core değer oluşturma .

Şunlara uygulanır

Create(IProperty, ITypeBase)

Kaynak:
ValueGeneratorFactory.cs
Kaynak:
ValueGeneratorFactory.cs
Kaynak:
ValueGeneratorFactory.cs
Kaynak:
ValueGeneratorFactory.cs

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

public abstract Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator Create(Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Metadata.ITypeBase typeBase);
abstract member Create : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Metadata.ITypeBase -> Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator
Public MustOverride Function Create (property As IProperty, typeBase As ITypeBase) As ValueGenerator

Parametreler

property
IProperty

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

typeBase
ITypeBase

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

Döndürülenler

Yeni oluşturulan değer oluşturucu.

Açıklamalar

Daha fazla bilgi ve örnek için bkz. EF Core değer oluşturma .

Şunlara uygulanır