using System;
using System.Xml;
using System.Xml.Serialization;
using System.Data;
using System.Data.SqlClient;
using System.Data.SqlTypes;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using System.Diagnostics;
using System.Runtime;
using System.Runtime.Serialization;
using Tdo;
using Tdo.Common;
using Tdo.Common.Entities;
using Tdo.Common.Entities.Tables;
using Tdo.Common.Entities.Views;
using Tdo.Common.Helper;
using Tdo.Common.TdoSqlExpressionDom;
using Tdo.Common.TdoTypes;
namespace Tdo.Common.TdoSqlExpressionDom{
/// <summary>
/// TDOSqlRange class used for the intervals in the Between and Not Between clause in TDOSqlExpressions
/// </summary>
[CLSCompliant(true)]
[Serializable()]
public sealed class TdoWhereRange
{
private object from;
private object to;
/// <summary>
/// Constructor of TDOSqlRange class
/// </summary>
/// <param name="from">"From" part of the Between clause</param>
/// <param name="to">"To" part of the Between clause </param>
public TdoWhereRange(object from, object to)
{
this.from = from;
this.to = to;
}
/// <summary>
/// Returns the "from" part in the interval
/// </summary>
public object From
{
get
{
return this.from;
}
}
/// <summary>
/// Returns the "to" part in the interval
/// </summary>
public object To
{
get
{
return this.to;
}
}
}
}
|