Language

ServiceParameterBinding クラス

定義

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

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

注釈

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

コンストラクター

Name 説明
ServiceParameterBinding(Type, Type, IPropertyBase)

指定されたサービスの種類またはメタデータ型の新しい ServiceParameterBinding インスタンスを作成します。

ServiceParameterBinding(Type, Type, IPropertyBase[])

指定されたサービスの種類またはメタデータ型の新しい ServiceParameterBinding インスタンスを作成します。

プロパティ

Name 説明
ConsumedProperties

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

(継承元 ParameterBinding)
ParameterType

パラメーター CLR 型。

(継承元 ParameterBinding)
ServiceDelegate

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

ServiceType

EF 内部サービスの CLR 型。

メソッド

Name 説明
BindToParameter(Expression, Expression)

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

BindToParameter(ParameterBindingInfo)

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

With(IPropertyBase[])

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

(継承元 ParameterBinding)

適用対象