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 override bool IsExplicitPolymorphism { get; set; }
Visual Basic
Public Overrides Property IsExplicitPolymorphism As Boolean
	Get
	Set
Visual C++
public:
virtual property bool IsExplicitPolymorphism {
	bool get () override;
	void set (bool value) override;
}

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 hierarchy should implicitly be returned.

See Also