ContextParameterBinding Konstruktoren

Definition

Überlädt

ContextParameterBinding(Type, IPropertyBase)

Erstellt eine neue ServiceParameterBinding instance für den angegebenen Diensttyp.

ContextParameterBinding(Type, IPropertyBase[])

Erstellt eine neue ServiceParameterBinding instance für den angegebenen Diensttyp.

ContextParameterBinding(Type, IPropertyBase)

Erstellt eine neue ServiceParameterBinding instance für den angegebenen Diensttyp.

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)

Parameter

contextType
Type

Der DbContext CLR-Typ.

serviceProperty
IPropertyBase

Der zugeordnete IServiceProperty- oder NULL-Wert.

Gilt für:

ContextParameterBinding(Type, IPropertyBase[])

Erstellt eine neue ServiceParameterBinding instance für den angegebenen Diensttyp.

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())

Parameter

contextType
Type

Der DbContext CLR-Typ.

serviceProperties
IPropertyBase[]

Die zugeordneten IServiceProperty Objekte oder null.

Gilt für: