Language

ConstructorBinding クラス

定義

エンティティ型の CLR ConstructorInfo へのパラメーターのバインドを定義します。

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

注釈

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

コンストラクター

Name 説明
ConstructorBinding(ConstructorInfo, IReadOnlyList<ParameterBinding>)

新しい ConstructorBinding インスタンスを作成します。

プロパティ

Name 説明
Constructor

バインドされた ConstructorInfo。

ParameterBindings

使用 ParameterBinding インスタンスのコレクション。

(継承元 InstantiationBinding)
RuntimeType

このバインディング用に作成された式ツリーから作成される型。

メソッド

Name 説明
CreateConstructorExpression(ParameterBindingInfo)

指定されたコンストラクターを使用してエンティティ インスタンスを作成することを表す NewExpression を作成します。

With(IReadOnlyList<ParameterBinding>)

指定されたパラメーター バインドを含むコピーを作成します。

適用対象