using System;
using System.Linq.Expressions;

namespace BLToolkit.Data.Linq
{
	class ExpressionQueryImpl<T> : ExpressionQuery<T>, IExpressionQuery
	{
		public ExpressionQueryImpl(IDataContextInfo dataContext, Expression expression)
		{
			Init(dataContext, expression);
		}

		//public new string SqlText
		//{
		//	get { return base.SqlText; }
		//}

//#if OVERRIDETOSTRING

		public override string ToString()
		{
			return base.SqlText;
		}

//#endif
	}
}
