An ICriterion that creates a SQLExpression.
The string {alias} will be replaced by the alias of the root entity.
Namespace: NHibernate.CriterionAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
[SerializableAttribute] public class SQLCriterion : AbstractCriterion |
Visual Basic |
---|
<SerializableAttribute> _ Public Class SQLCriterion _ Inherits AbstractCriterion |
Visual C++ |
---|
[SerializableAttribute] public ref class SQLCriterion : public AbstractCriterion |
Remarks
This allows for database specific Expressions at the cost of needing to
write a correct SqlString.
Inheritance Hierarchy
System..::..Object
NHibernate.Criterion..::..AbstractCriterion
NHibernate.Criterion..::..SQLCriterion
NHibernate.Criterion..::..AbstractCriterion
NHibernate.Criterion..::..SQLCriterion