Dil

IValueGeneratorSelector.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:
IValueGeneratorSelector.cs

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

public 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
Public 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.

Şunlara uygulanır

Select(IProperty, ITypeBase)

Kaynak:
IValueGeneratorSelector.cs
Kaynak:
IValueGeneratorSelector.cs
Kaynak:
IValueGeneratorSelector.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 Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator? Select(Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Metadata.ITypeBase typeBase);
public 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
abstract member Select : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Metadata.ITypeBase -> Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator
Public 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ğı tür. Türetilmiş türlerdeki devralınan özelliklerde çağrıldığında, bu tür için bildirim türünden farklı olabilir property

Döndürülenler

Kullanılacak değer oluşturucu.

Özellikler

Şunlara uygulanır