Retrieves a PropertyAccessor instance based on the given property definition and entity mode.
Namespace: NHibernate.PropertiesAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public static IPropertyAccessor GetPropertyAccessor( Property property, Nullable<EntityMode> mode ) |
Visual Basic |
---|
Public Shared Function GetPropertyAccessor ( _ property As Property, _ mode As Nullable(Of EntityMode) _ ) As IPropertyAccessor |
Visual C++ |
---|
public: static IPropertyAccessor^ GetPropertyAccessor( Property^ property, Nullable<EntityMode> mode ) |
Parameters
- property
- Type: NHibernate.Mapping..::..Property
The property for which to retrieve an accessor.
- mode
- Type: System..::..Nullable<(Of <(<'EntityMode>)>)>
The mode for the resulting entity.