Access the mapped property by using a Field to get and set the value.

Namespace: NHibernate.Properties
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
[SerializableAttribute]
public class FieldAccessor : IPropertyAccessor
Visual Basic
<SerializableAttribute> _
Public Class FieldAccessor _
	Implements IPropertyAccessor
Visual C++
[SerializableAttribute]
public ref class FieldAccessor : IPropertyAccessor

Remarks

The FieldAccessor is useful when you expose getter and setters for a Property, but they have extra code in them that shouldn't be executed when NHibernate is setting or getting the values for loads or saves.

Inheritance Hierarchy

System..::..Object
  NHibernate.Properties..::..FieldAccessor

See Also