Language

DependencyInjectionParameterBinding クラス

定義

コンストラクター、ファクトリ メソッドなどのパラメーターに対する EF 内部依存関係挿入サービス ( IServicePropertyが存在する場合と関連付けられていない場合もあります) からのバインドについて説明します。

[System.Runtime.CompilerServices.Nullable(0)]
public class DependencyInjectionParameterBinding : Microsoft.EntityFrameworkCore.Metadata.ServiceParameterBinding
public class DependencyInjectionParameterBinding : Microsoft.EntityFrameworkCore.Metadata.ServiceParameterBinding
[<System.Runtime.CompilerServices.Nullable(0)>]
type DependencyInjectionParameterBinding = class
    inherit ServiceParameterBinding
type DependencyInjectionParameterBinding = class
    inherit ServiceParameterBinding
Public Class DependencyInjectionParameterBinding
Inherits ServiceParameterBinding
継承
DependencyInjectionParameterBinding
派生
属性

注釈

詳細と例については、 コンストラクターを含むエンティティ型 を参照してください。

コンストラクター

Name 説明
DependencyInjectionParameterBinding(Type, Type, IPropertyBase)

指定したサービスの種類の新しい DependencyInjectionParameterBinding インスタンスを作成します。

DependencyInjectionParameterBinding(Type, Type, IPropertyBase[])

指定したサービスの種類の新しい DependencyInjectionParameterBinding インスタンスを作成します。

プロパティ

Name 説明
ConsumedProperties

このバインディングによって処理されるプロパティは、他の方法で設定する必要はありません。

(継承元 ParameterBinding)
ParameterType

パラメーター CLR 型。

(継承元 ParameterBinding)
ServiceDelegate

エンティティ インスタンスに CLR サービス プロパティを設定するデリゲート。

ServiceDelegate

エンティティ インスタンスに CLR サービス プロパティを設定するデリゲート。

(継承元 ServiceParameterBinding)
ServiceType

EF 内部サービスの CLR 型。

(継承元 ServiceParameterBinding)

メソッド

Name 説明
BindToParameter(Expression, Expression)

マテリアライズ式からコンストラクター、ファクトリ メソッドなどのパラメーターへのプロパティ値のバインドを表す式ツリーを作成します。

BindToParameter(ParameterBindingInfo)

マテリアライズ式からコンストラクター、ファクトリ メソッドなどのパラメーターへのプロパティ値のバインドを表す式ツリーを作成します。

(継承元 ServiceParameterBinding)
With(IPropertyBase[])

使用される特定のプロパティを含むコピーを作成します。

適用対象