DbSetProperty(String, Type, IClrPropertySetter) Constructor

Definition

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