constcondition.cs

来自「基于LINQ和.NET 3.5 的数据库源码」· CS 代码 · 共 23 行

CS
23
字号
namespace Lephone.Data.Builder.Clause
{
    public class ConstCondition : WhereCondition
    {
        private readonly string Condition;

        internal ConstCondition(string Condition)
        {
            this.Condition = Condition;
        }

        public override bool SubClauseNotEmpty
        {
            get { return true; }
        }

        public override string ToSqlText(SqlEntry.DataParamterCollection dpc, Dialect.DbDialect dd)
        {
            return Condition;
        }
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?