Sdílet prostřednictvím


ContextParameterBinding Konstruktory

Definice

Přetížení

ContextParameterBinding(Type, IPropertyBase)

Vytvoří novou ServiceParameterBinding instanci pro daný typ služby.

ContextParameterBinding(Type, IPropertyBase[])

Vytvoří novou ServiceParameterBinding instanci pro daný typ služby.

ContextParameterBinding(Type, IPropertyBase)

Vytvoří novou ServiceParameterBinding instanci pro daný typ služby.

public ContextParameterBinding (Type contextType, Microsoft.EntityFrameworkCore.Metadata.IPropertyBase serviceProperty = default);
new Microsoft.EntityFrameworkCore.Metadata.ContextParameterBinding : Type * Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> Microsoft.EntityFrameworkCore.Metadata.ContextParameterBinding
Public Sub New (contextType As Type, Optional serviceProperty As IPropertyBase = Nothing)

Parametry

contextType
Type

Typ DbContext CLR.

serviceProperty
IPropertyBase

Přidružená IServicePropertyhodnota nebo hodnota null.

Platí pro

ContextParameterBinding(Type, IPropertyBase[])

Vytvoří novou ServiceParameterBinding instanci pro daný typ služby.

public ContextParameterBinding (Type contextType, params Microsoft.EntityFrameworkCore.Metadata.IPropertyBase[]? serviceProperties);
new Microsoft.EntityFrameworkCore.Metadata.ContextParameterBinding : Type * Microsoft.EntityFrameworkCore.Metadata.IPropertyBase[] -> Microsoft.EntityFrameworkCore.Metadata.ContextParameterBinding
Public Sub New (contextType As Type, ParamArray serviceProperties As IPropertyBase())

Parametry

contextType
Type

Typ DbContext CLR.

serviceProperties
IPropertyBase[]

Přidružené IServiceProperty objekty nebo null.

Platí pro