語言

IClrPropertySetter 介面

定義

代表由編譯代理支援的操作,支援設定映射 EF 屬性的值。

此類型通常由資料庫提供者(及其他擴充功能)使用。 它通常不被用於應用程式程式碼中。

public interface IClrPropertySetter
type IClrPropertySetter = interface
Public Interface IClrPropertySetter

備註

更多資訊與範例請參見 資料庫提供者與擴充功能的實作 。

方法

名稱 Description
SetClrValue(Object, Object)

直接將屬性值設定在實體或最近的複集合元素上。

SetClrValueUsingContainingEntity(Object, IReadOnlyList<Int32>, Object)

利用包含實體的實例設定屬性的值。

SetClrValueUsingContainingEntity(Object, Object)

利用包含實體的實例設定屬性的值。

適用於