Namespace:  NHibernate.Expression
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Function SetPropertySelector ( _
	selector As Example..::.IPropertySelector _
) As Example
C#
public Example SetPropertySelector(
	Example..::.IPropertySelector selector
)
Visual C++
public:
Example^ SetPropertySelector(
	Example..::.IPropertySelector^ selector
)
JavaScript
function setPropertySelector(selector);

Parameters

selector
Type: NHibernate.Expression..::.Example..::.IPropertySelector
The Example..::.IPropertySelector to determine which properties to include.

Return Value

This Example instance.

Remarks

This should be used when a custom Example..::.IPropertySelector has been implemented. Otherwise use the methods ExcludeNulls()()() or ExcludeNone()()() to set the Example..::.IPropertySelector to the Example..::.IPropertySelectors built into NHibernate.

See Also