ServiceParameterBindingFactory.Bind Method
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
Bind(IConventionEntityType, Type, String) |
Creates a ParameterBinding for the given type and name on the given entity type. |
Bind(IMutableEntityType, Type, String) |
Creates a ParameterBinding for the given type and name on the given entity type. |
Bind(IReadOnlyEntityType, Type, String) |
Creates a ParameterBinding for the given type and name on the given entity type. |
Bind(IConventionEntityType, Type, String)
Creates a ParameterBinding for the given type and name on the given entity type.
public virtual Microsoft.EntityFrameworkCore.Metadata.ParameterBinding Bind (Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, Type parameterType, string parameterName);
abstract member Bind : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * Type * string -> Microsoft.EntityFrameworkCore.Metadata.ParameterBinding
override this.Bind : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * Type * string -> Microsoft.EntityFrameworkCore.Metadata.ParameterBinding
Public Overridable Function Bind (entityType As IConventionEntityType, parameterType As Type, parameterName As String) As ParameterBinding
Parameters
- entityType
- IConventionEntityType
The entity type.
- parameterType
- Type
The parameter type.
- parameterName
- String
The parameter name.
Returns
The binding.
Implements
Applies to
Bind(IMutableEntityType, Type, String)
Creates a ParameterBinding for the given type and name on the given entity type.
public virtual Microsoft.EntityFrameworkCore.Metadata.ParameterBinding Bind (Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, Type parameterType, string parameterName);
abstract member Bind : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * Type * string -> Microsoft.EntityFrameworkCore.Metadata.ParameterBinding
override this.Bind : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * Type * string -> Microsoft.EntityFrameworkCore.Metadata.ParameterBinding
Public Overridable Function Bind (entityType As IMutableEntityType, parameterType As Type, parameterName As String) As ParameterBinding
Parameters
- entityType
- IMutableEntityType
The entity type.
- parameterType
- Type
The parameter type.
- parameterName
- String
The parameter name.
Returns
The binding.
Implements
Applies to
Bind(IReadOnlyEntityType, Type, String)
Creates a ParameterBinding for the given type and name on the given entity type.
public virtual Microsoft.EntityFrameworkCore.Metadata.ParameterBinding Bind (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType, Type parameterType, string parameterName);
abstract member Bind : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType * Type * string -> Microsoft.EntityFrameworkCore.Metadata.ParameterBinding
override this.Bind : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType * Type * string -> Microsoft.EntityFrameworkCore.Metadata.ParameterBinding
Public Overridable Function Bind (entityType As IReadOnlyEntityType, parameterType As Type, parameterName As String) As ParameterBinding
Parameters
- entityType
- IReadOnlyEntityType
The entity type.
- parameterType
- Type
The parameter type.
- parameterName
- String
The parameter name.
Returns
The binding.
Implements
Applies to
Entity Framework