Esempio n. 1
0
 /// <summary>
 /// 默认构造器
 /// </summary>
 /// <param name="queueManger">队列管理模块</param>
 /// <param name="queue">包含数据库SQL操作的队列</param>
 public DbExpressionBoolProvider(BaseQueueManger queueManger, Queue queue)
 {
     QueueManger = queueManger;
     Queue       = queue;
     if (Queue.Param == null)
     {
         Queue.Param = new List <DbParameter>();
     }
 }
 /// <summary>
 /// 提供ExpressionNew表达式树的解析
 /// </summary>
 /// <param name="queueManger">队列管理模块</param>
 /// <param name="queue">包含数据库SQL操作的队列</param>
 public DbExpressionNewProvider(BaseQueueManger queueManger, Queue queue)
 {
     QueueManger = queueManger;
     Queue       = queue;
 }
Esempio n. 3
0
 /// <summary>
 /// 创建SQL查询
 /// </summary>
 /// <param name="queueManger">队列管理模块</param>
 /// <param name="queue">包含数据库SQL操作的队列</param>
 public abstract ISqlBuilder CreateSqlBuilder(BaseQueueManger queueManger, Queue queue);