ValueGeneratorSelector.TrySelect(IProperty, ITypeBase, ValueGenerator) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
特定のプロパティに対して適切な値ジェネレーターを選択します (使用可能な場合)。
public virtual bool TrySelect(Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Metadata.ITypeBase typeBase, out Microsoft.EntityFrameworkCore.ValueGeneration.ValueGenerator? valueGenerator);
abstract member TrySelect : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Metadata.ITypeBase * ValueGenerator -> bool
override this.TrySelect : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Metadata.ITypeBase * ValueGenerator -> bool
Public Overridable Function TrySelect (property As IProperty, typeBase As ITypeBase, ByRef valueGenerator As ValueGenerator) As Boolean
パラメーター
- property
- IProperty
値ジェネレーターを取得するプロパティ。
- typeBase
- ITypeBase
値ジェネレーターが使用されるエンティティ型。 派生エンティティ型の継承プロパティで呼び出されると、このエンティティ型は、次の宣言されたエンティティ型とは異なる場合があります。 property
- valueGenerator
- ValueGenerator
値ジェネレーター。使用できない場合は null 。
戻り値
true 値ジェネレーターが選択された場合。使用できなかった場合は false します。