Use the discriminator, to narrow the select to instances of the queried subclass, also applying any filters.

Namespace: NHibernate.Loader.Criteria
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
protected override SqlString WhereFragment { get; }
Visual Basic
Protected Overrides ReadOnly Property WhereFragment As SqlString
	Get
Visual C++
protected:
virtual property SqlString^ WhereFragment {
	SqlString^ get () override;
}

See Also