Initialize a new instance of the Example class for a particular
entity.
Namespace: NHibernate.CriterionAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
protected Example( Object entity, Example..::..IPropertySelector selector ) |
Visual Basic |
---|
Protected Sub New ( _ entity As Object, _ selector As Example..::..IPropertySelector _ ) |
Visual C++ |
---|
protected: Example( Object^ entity, Example..::..IPropertySelector^ selector ) |
Parameters
- entity
- Type: System..::..Object
The Object that the Example is being built from.
- selector
- Type: NHibernate.Criterion..::..Example..::..IPropertySelector
The Example..::..IPropertySelector the Example should use.