forked from nhibernate/nhibernate-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLeExpression.cs
29 lines (27 loc) · 823 Bytes
/
LeExpression.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using System;
namespace NHibernate.Expression
{
/// <summary>
/// An <see cref="ICriterion"/> that represents an "less than or equal" constraint.
/// </summary>
public class LeExpression : SimpleExpression
{
/// <summary>
/// Initialize a new instance of the <see cref="LeExpression" /> class for a named
/// Property and its value.
/// </summary>
/// <param name="propertyName">The name of the Property in the class.</param>
/// <param name="value">The value for the Property.</param>
public LeExpression( string propertyName, object value ) : base( propertyName, value )
{
}
/// <summary>
/// Get the Sql operator to use for the <see cref="LeExpression"/>.
/// </summary>
/// <value>The string "<c> <= </c>"</value>
protected override string Op
{
get { return " <= "; }
}
}
}