Gets the sql string that should be a part of the where clause.

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

Syntax

C#
public override string Where { get; set; }
Visual Basic
Public Overrides Property Where As String
	Get
	Set
Visual C++
public:
virtual property String^ Where {
	String^ get () override;
	void set (String^ value) override;
}

Field Value

The sql string that should be a part of the where clause.

Exceptions

ExceptionCondition
System..::..InvalidOperationException Thrown when the setter is called. The where clause can not be set on the SubclassType, only the RootClass.

See Also