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)

Syntax

Visual Basic (Declaration)
Public MustOverride Property IsExplicitPolymorphism As Boolean
C#
public abstract bool IsExplicitPolymorphism { get; set; }
Visual C++
public:
virtual property bool IsExplicitPolymorphism {
	bool get () abstract;
	void set (bool value) abstract;
}
JavaScript
function get_isExplicitPolymorphism();
function set_isExplicitPolymorphism(value);

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