語言

MutablePropertyBaseExtensions 類別

定義

警告

Use IMutablePropertyBase

的 IMutablePropertyBase擴展方法 。

public static class MutablePropertyBaseExtensions
[System.Obsolete("Use IMutablePropertyBase")]
public static class MutablePropertyBaseExtensions
type MutablePropertyBaseExtensions = class
[<System.Obsolete("Use IMutablePropertyBase")>]
type MutablePropertyBaseExtensions = class
Public Module MutablePropertyBaseExtensions
Public Class MutablePropertyBaseExtensions
繼承
MutablePropertyBaseExtensions
屬性

方法

名稱 Description
SetField(IMutablePropertyBase, String)
已淘汰.

設定該屬性應使用的底層 CLR 欄位。

背襯場通常依約定方式求得,如下所述: http://go.microsoft.com/fwlink/?LinkId=723277. 此方法對於在慣例下找不到正確欄位時,明確設定支持欄位非常有用。

預設情況下,如果找到或指定了後盾欄位,則在建構新物件時會使用,通常是在從資料庫查詢實體時。 所有其他進出通道皆使用物業。 此參數可透過呼叫 SetPropertyAccessMode(IMutablePropertyBase, Nullable<PropertyAccessMode>)來改變。

SetPropertyAccessMode(IMutablePropertyBase, Nullable<PropertyAccessMode>)
已淘汰.

設定 使用 這個 PropertyAccessMode 屬性。

SetPropertyAccessMode(IMutablePropertyBase, Nullable<PropertyAccessMode>)
已淘汰.

設定 使用 這個 PropertyAccessMode 屬性。

適用於