ContextParameterBinding Constructeurs
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
ContextParameterBinding(Type, IPropertyBase) |
Crée une ServiceParameterBinding instance pour le type de service donné. |
ContextParameterBinding(Type, IPropertyBase[]) |
Crée une ServiceParameterBinding instance pour le type de service donné. |
- Source:
- ContextParameterBinding.cs
- Source:
- ContextParameterBinding.cs
- Source:
- ContextParameterBinding.cs
Crée une ServiceParameterBinding instance pour le type de service donné.
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)
Paramètres
- serviceProperty
- IPropertyBase
associé ou IServicePropertynull.
S’applique à
Entity Framework Core 5.0 et autres versions
Produit | Versions |
---|---|
Entity Framework Core | 3.0, 3.1, 5.0 |
- Source:
- ContextParameterBinding.cs
- Source:
- ContextParameterBinding.cs
- Source:
- ContextParameterBinding.cs
- Source:
- ContextParameterBinding.cs
Crée une ServiceParameterBinding instance pour le type de service donné.
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())
Paramètres
- serviceProperties
- IPropertyBase[]
Les objets associés IServiceProperty , ou null
.
S’applique à
Entity Framework Core 9.0 et autres versions
Produit | Versions |
---|---|
Entity Framework Core | 6.0, 7.0, 8.0, 9.0 |
Commentaires sur Entity Framework
Entity Framework est un projet open source. Sélectionnez un lien pour fournir des commentaires :