When implemented by a class, gets or sets a boolean indicating if explicit polymorphism should be used in Queries.

Namespace: NHibernate.Mapping
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public abstract bool IsExplicitPolymorphism { get; set; }
Visual Basic
Public MustOverride Property IsExplicitPolymorphism As Boolean
	Get
	Set
Visual C++
public:
virtual property bool IsExplicitPolymorphism {
	bool get () abstract;
	void set (bool value) abstract;
}

Field Value

trueTruetruetrue (True in Visual Basic) if only classes queried on should be returned, falseFalsefalsefalse (False in Visual Basic) if any class in the heirarchy should implicitly be returned.

Remarks

The value of this is set by the polymorphism attribute.

See Also