DbSetProperty(String, Type, IClrPropertySetter) Constructeur
Définition
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.
Initialise le nouveau DbSetProperty avec des valeurs données.
public DbSetProperty(string name, Type type, Microsoft.EntityFrameworkCore.Metadata.IClrPropertySetter setter);
public DbSetProperty(string name, Type type, Microsoft.EntityFrameworkCore.Metadata.IClrPropertySetter? setter);
new Microsoft.EntityFrameworkCore.Infrastructure.DbSetProperty : string * Type * Microsoft.EntityFrameworkCore.Metadata.IClrPropertySetter -> Microsoft.EntityFrameworkCore.Infrastructure.DbSetProperty
Public Sub New (name As String, type As Type, setter As IClrPropertySetter)
Paramètres
- name
- String
Nom de DbSet.
- type
- Type
Type clr d’entité de DbSet.
- setter
- IClrPropertySetter
Setter pour la propriété DbSet.