MutablePropertyBaseExtensions MutablePropertyBaseExtensions Class

Definition

Extension methods for IMutablePropertyBase.

public static class MutablePropertyBaseExtensions
Public Module MutablePropertyBaseExtensions
Inheritance
System.ObjectSystem.Object
MutablePropertyBaseExtensionsMutablePropertyBaseExtensions

Methods

System.Object.Equals(System.Object) System.Object.Equals(System.Object) Inherited from System.Object
System.Object.Equals(System.Object, System.Object) System.Object.Equals(System.Object, System.Object) Inherited from System.Object
System.Object.GetHashCode() System.Object.GetHashCode() Inherited from System.Object
System.Object.GetType() System.Object.GetType() Inherited from System.Object
System.Object.MemberwiseClone() System.Object.MemberwiseClone() Inherited from System.Object
System.Object.ReferenceEquals(System.Object, System.Object) System.Object.ReferenceEquals(System.Object, System.Object) Inherited from System.Object
SetField(IMutablePropertyBase, String) SetField(IMutablePropertyBase, String)

Sets the backing field to use for this property.

Backing fields are normally found by convention as described here: http://go.microsoft.com/fwlink/?LinkId=723277. This method is useful for setting backing fields explicitly in cases where the correct field is not found by convention.

By default, the backing field, if one is found or has been specified, is used when new objects are constructed, typically when entities are queried from the database. Properties are used for all other accesses. This can be changed by calling SetPropertyAccessMode(IMutablePropertyBase, Nullable<PropertyAccessMode>).

SetPropertyAccessMode(IMutablePropertyBase, Nullable<PropertyAccessMode>) SetPropertyAccessMode(IMutablePropertyBase, Nullable(Of PropertyAccessMode))

Sets the PropertyAccessMode to use for this property.

System.Object.ToString() System.Object.ToString() Inherited from System.Object