Share via


DbSetProperty Struct

Definition

A struct representing facets of DbSet<TEntity> property defined on DbContext derived type.

[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct DbSetProperty
[<System.Runtime.CompilerServices.IsReadOnly>]
type DbSetProperty = struct
Public Structure DbSetProperty
Inheritance
DbSetProperty
Attributes

Constructors

DbSetProperty(String, Type, IClrPropertySetter)

Initializes new DbSetProperty with given values.

Properties

ClrType
Obsolete.

Gets the clr type of entity type this DbSet property represent.

Name

Gets the name of this DbSet property.

Setter

The property setter for this DbSet property.

Type

Gets the clr type of entity type this DbSet property represent.

Applies to