Define the various access strategies NHibernate will use to set/get the value for this property.

Namespace: Castle.ActiveRecord
Assembly:  Castle.ActiveRecord (in Castle.ActiveRecord.dll)
Version: 1.0.3.0

Syntax

C#
public enum PropertyAccess

Members

Member nameDescription
Property
Use the property get/set methods to get and set the value of this property
Field
Use the field to get/set the value. (Only valid when specify on a field).
FieldCamelcase
Use the field that is the backing store for this property to get/set the value of this property. The field is using the same name as the property, in camel case.
FieldCamelcaseUnderscore
Use the field that is the backing store for this property to get/set the value of this property. The field is using the same name as the property, in camel case and with an initial underscore
FieldPascalcaseMUnderscore
Use the field that is the backing store for this property to get/set the value of this property. The field is using the same name as the property, in pascal case and with an initial m and then underscore. m_Name for the property Name.
FieldLowercaseUnderscore
Use the field that is the backing store for this property to get/set the value of this property. The field is using the same name as the property, in all lower case and with inital underscore
NosetterCamelcase
Use the property' getter to get the value, and use the field with the same name and in camel case in order to set it.
NosetterCamelcaseUnderscore
Use the property' getter to get the value, and use the field with the same name and in camel case with initial "_" in order to set it.
NosetterPascalcaseMUndersc
Use the property' getter to get the value, and use the field with the same name and in pascal case with initial "m_" in order to set it.
NosetterLowercaseUnderscore
Use the property' getter to get the value, and use the field with the same name and in lower case with initial "_" in order to set it.
NosetterLowercase
Use the property' getter to get the value, and use the field with the same name and in lower case in order to set it.

See Also