ValueGeneratorSelector.Select メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| Name | 説明 |
|---|---|
| Select(IProperty, IEntityType) |
特定のプロパティに適した値ジェネレーターを選択します。 |
| Select(IProperty, ITypeBase) |
古い.
特定のプロパティに適した値ジェネレーターを選択します。 |
Select(IProperty, IEntityType)
特定のプロパティに適した値ジェネレーターを選択します。
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
パラメーター
- property
- IProperty
値ジェネレーターを取得するプロパティ。
- entityType
- IEntityType
値ジェネレーターが使用されるエンティティ型。 派生エンティティ型の継承プロパティで呼び出されると、このエンティティ型は、次の宣言されたエンティティ型とは異なる場合があります。 property
戻り値
使用する値ジェネレーター。
実装
適用対象
Select(IProperty, ITypeBase)
注意事項
Use TrySelect and throw if needed when the generator is not found.
特定のプロパティに適した値ジェネレーターを選択します。
[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
パラメーター
- property
- IProperty
値ジェネレーターを取得するプロパティ。
- typeBase
- ITypeBase
値ジェネレーターが使用されるエンティティ型。 派生エンティティ型の継承プロパティで呼び出されると、このエンティティ型は、次の宣言されたエンティティ型とは異なる場合があります。 property
戻り値
使用する値ジェネレーター。
実装
- 属性