DbSetProperty(String, Type, IClrPropertySetter) Constructor
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.
Initializes new DbSetProperty with given values.
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)
Parameters
- name
- String
The name of DbSet.
- type
- Type
The entity clr type of DbSet.
- setter
- IClrPropertySetter
The setter for DbSet property.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework