Share via


ContextParameterBinding Constructors

Definition

Overloads

ContextParameterBinding(Type, IPropertyBase)

Creates a new ServiceParameterBinding instance for the given service type.

ContextParameterBinding(Type, IPropertyBase[])

Creates a new ServiceParameterBinding instance for the given service type.

ContextParameterBinding(Type, IPropertyBase)

Creates a new ServiceParameterBinding instance for the given service type.

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)

Parameters

contextType
Type

The DbContext CLR type.

serviceProperty
IPropertyBase

The associated IServiceProperty, or null.

Applies to

ContextParameterBinding(Type, IPropertyBase[])

Creates a new ServiceParameterBinding instance for the given service type.

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

Parameters

contextType
Type

The DbContext CLR type.

serviceProperties
IPropertyBase[]

The associated IServiceProperty objects, or null.

Applies to