Dil

ValueGeneratorSelector.Select Yöntem

Tanım

Aşırı Yüklemeler

Veri Akışı Adı Description
Select(IProperty, IEntityType)

Belirli bir özellik için uygun değer oluşturucuyu seçer.

Select(IProperty, ITypeBase)
Geçersiz.

Belirli bir özellik için uygun değer oluşturucuyu seçer.

Select(IProperty, IEntityType)

Kaynak:
ValueGeneratorSelector.cs
Kaynak:
ValueGeneratorSelector.cs
Kaynak:
ValueGeneratorSelector.cs
Kaynak:
ValueGeneratorSelector.cs
Kaynak:
ValueGeneratorSelector.cs
Kaynak:
ValueGeneratorSelector.cs
Kaynak:
ValueGeneratorSelector.cs

Belirli bir özellik için uygun değer oluşturucuyu seçer.

public virtual Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator Select(Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
abstract member Select : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator
override this.Select : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator
Public Overridable Function Select (property As IProperty, entityType As IEntityType) As ValueGenerator

Parametreler

property
IProperty

Için değer oluşturucunun alınacak özelliği.

entityType
IEntityType

Değer oluşturucunun kullanılacağı varlık türü. Türetilmiş varlık türlerinde devralınan özelliklerde çağrıldığında, bu varlık türü üzerindeki bildirilen varlık türünden farklı olabilir property

Döndürülenler

Kullanılacak değer oluşturucu.

Uygulamalar

Şunlara uygulanır

Select(IProperty, ITypeBase)

Kaynak:
ValueGeneratorSelector.cs
Kaynak:
ValueGeneratorSelector.cs
Kaynak:
ValueGeneratorSelector.cs

Dikkat

Use TrySelect and throw if needed when the generator is not found.

Belirli bir özellik için uygun değer oluşturucuyu seçer.

[System.Obsolete("Use TrySelect and throw if needed when the generator is not found.")]
public virtual Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator? Select(Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Metadata.ITypeBase typeBase);
public virtual Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator Select(Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Metadata.ITypeBase typeBase);
[<System.Obsolete("Use TrySelect and throw if needed when the generator is not found.")>]
abstract member Select : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Metadata.ITypeBase -> Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator
override this.Select : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Metadata.ITypeBase -> Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator
abstract member Select : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Metadata.ITypeBase -> Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator
override this.Select : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Metadata.ITypeBase -> Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator
Public Overridable Function Select (property As IProperty, typeBase As ITypeBase) As ValueGenerator

Parametreler

property
IProperty

Için değer oluşturucunun alınacak özelliği.

typeBase
ITypeBase

Değer oluşturucunun kullanılacağı varlık türü. Türetilmiş varlık türlerinde devralınan özelliklerde çağrıldığında, bu varlık türü üzerindeki bildirilen varlık türünden farklı olabilir property

Döndürülenler

Kullanılacak değer oluşturucu.

Uygulamalar

Özellikler

Şunlara uygulanır