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
屬性

方法

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設定要用於這個屬性的 。

適用於