//This file is part of ORM.NET.
//
//ORM.NET is free software; you can redistribute it and/or
//modify it under the terms of the GNU Lesser General Public
//License as published by the Free Software Foundation; either
//version 2.1 of the License, or (at your option) any later version.
//
//ORM.NET is distributed in the hope that it will be useful,
//but WITHOUT ANY WARRANTY; without even the implied warranty of
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
//Lesser General Public License for more details.
//
//You should have received a copy of the GNU Lesser General Public
//License along with ORM.NET; if not, write to the Free Software
//Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
using System;
namespace OrmLib{
/// <summary>
/// The operator to use to compare a column to a piece of data.
/// </summary>
public enum MatchType
{
/// <summary>
/// '='
/// </summary>
Exact,
/// <summary>
/// '<>'
/// </summary>
Not,
/// <summary>
/// '%' + data + '%'
/// </summary>
Partial,
/// <summary>
/// data + '%'
/// </summary>
StartsWith,
/// <summary>
/// '%' + data
/// </summary>
EndsWith,
/// <summary>
/// '>'
/// </summary>
Greater,
/// <summary>
/// '<'
/// </summary>
Lesser,
/// <summary>
/// is null
/// </summary>
IsNull,
/// <summary>
/// is not null
/// </summary>
IsNotNull,
/// <summary>
/// in ( (string|int)data[] )
/// </summary>
In,
/// <summary>
/// '>='
/// </summary>
GreaterOrEqual,
/// <summary>
/// '<='
/// </summary>
LesserOrEqual,
/// <summary>
/// like
/// </summary>
Like,
/// <summary>
/// not in ( (string|int)data[] )
/// </summary>
NotIn,
/// <summary>
/// not like
/// </summary>
NotLike
}
}
|