ServiceParameterBindingFactory.Bind Method

Definition

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)

Source:
ServiceParameterBindingFactory.cs
Source:
ServiceParameterBindingFactory.cs
Source:
ServiceParameterBindingFactory.cs
Source:
ServiceParameterBindingFactory.cs
Source:
ServiceParameterBindingFactory.cs
Source:
ServiceParameterBindingFactory.cs
Source:
ServiceParameterBindingFactory.cs

Creates a ParameterBinding for the given type and name on the given entity type.

C#
public virtual Microsoft.EntityFrameworkCore.Metadata.ParameterBinding Bind (Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, Type parameterType, string parameterName);

Parameters

entityType
IConventionEntityType

The entity type.

parameterType
Type

The parameter type.

parameterName
String

The parameter name.

Returns

The binding.

Implements

Applies to

Entity Framework Core 9.0 och andra versioner
Produkt Versioner
Entity Framework Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0

Bind(IMutableEntityType, Type, String)

Source:
ServiceParameterBindingFactory.cs
Source:
ServiceParameterBindingFactory.cs
Source:
ServiceParameterBindingFactory.cs
Source:
ServiceParameterBindingFactory.cs
Source:
ServiceParameterBindingFactory.cs
Source:
ServiceParameterBindingFactory.cs
Source:
ServiceParameterBindingFactory.cs

Creates a ParameterBinding for the given type and name on the given entity type.

C#
public virtual Microsoft.EntityFrameworkCore.Metadata.ParameterBinding Bind (Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, Type parameterType, string parameterName);

Parameters

entityType
IMutableEntityType

The entity type.

parameterType
Type

The parameter type.

parameterName
String

The parameter name.

Returns

The binding.

Implements

Applies to

Entity Framework Core 9.0 och andra versioner
Produkt Versioner
Entity Framework Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0

Bind(IReadOnlyEntityType, Type, String)

Source:
ServiceParameterBindingFactory.cs
Source:
ServiceParameterBindingFactory.cs
Source:
ServiceParameterBindingFactory.cs
Source:
ServiceParameterBindingFactory.cs

Creates a ParameterBinding for the given type and name on the given entity type.

C#
public virtual Microsoft.EntityFrameworkCore.Metadata.ParameterBinding Bind (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType, Type parameterType, string parameterName);

Parameters

entityType
IReadOnlyEntityType

The entity type.

parameterType
Type

The parameter type.

parameterName
String

The parameter name.

Returns

The binding.

Implements

Applies to

Entity Framework Core 9.0 och andra versioner
Produkt Versioner
Entity Framework Core 6.0, 7.0, 8.0, 9.0