ContextParameterBinding Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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
- serviceProperties
- IPropertyBase[]
The associated IServiceProperty objects, or null
.
Applies to
Entity Framework