Initialize a new instance of the Example class for a particular entity.

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

Syntax

Visual Basic (Declaration)
Protected Sub New ( _
	entity As Object, _
	selector As Example..::.IPropertySelector _
)
C#
protected Example(
	Object entity,
	Example..::.IPropertySelector selector
)
Visual C++
protected:
Example(
	Object^ entity, 
	Example..::.IPropertySelector^ selector
)
JavaScript
NHibernate.Expression.Example = function(entity, selector);

Parameters

entity
Type: System..::.Object
The Object that the Example is being built from.
selector
Type: NHibernate.Expression..::.Example..::.IPropertySelector
The Example..::.IPropertySelector the Example should use.

See Also