語言

DbSetProperty 結構

定義

一個結構體,代表在 DbContext 衍生型別中定義的 DbSet<TEntity> 屬性面向。

[System.Runtime.CompilerServices.IsReadOnly]
[System.Runtime.CompilerServices.Nullable(0)]
public readonly struct DbSetProperty
[System.Runtime.CompilerServices.IsReadOnly]
public readonly struct DbSetProperty
[<System.Runtime.CompilerServices.IsReadOnly>]
[<System.Runtime.CompilerServices.Nullable(0)>]
type DbSetProperty = struct
[<System.Runtime.CompilerServices.IsReadOnly>]
type DbSetProperty = struct
Public Structure DbSetProperty
繼承
DbSetProperty
屬性

建構函式

名稱 Description
DbSetProperty(String, Type, IClrPropertySetter)

初始化新值 DbSetProperty 給定值。

屬性

名稱 Description
ClrType
已淘汰.

取得 clr 類型的實體類型,這個 DbSet 屬性所代表。

Name

取得這個 DbSet 屬性的名稱。

Setter

這個 DbSet 屬性的設定器。

Type

取得 clr 類型的實體類型,這個 DbSet 屬性所代表。

適用於