public override ISqlBuilder CreateSqlBuilder(BaseQueueManger queueManger, Queue queue) { switch (queueManger.ContextMap.ContextProperty.DataVer) { case "2000": return(new SqlBuilder2000(queueManger, queue)); } return(new SqlBuilder(queueManger, queue)); }
public override ISqlBuilder CreateSqlBuilder(BaseQueueManger queueManger, Queue queue) { switch (queueManger.ContextMap.ContextProperty.DataVer) { case "2000": return new SqlBuilder2000(queueManger, queue); } return new SqlBuilder(queueManger, queue); }
/// <summary> /// 默认构造器 /// </summary> /// <param name="queueManger">队列管理模块</param> /// <param name="queue">包含数据库SQL操作的队列</param> public ExpressionVisit(BaseQueueManger queueManger, Queue queue) { QueueManger = queueManger; Queue = queue; _expNewProvider = new ExpressionNew(QueueManger, Queue); _expBoolProvider = new ExpressionBool(QueueManger, Queue); }
public Queue(int index, string name, FieldMap map, BaseQueueManger queueManger) { ID = Guid.NewGuid(); Index = index; Name = name; Param = new List <DbParameter>(); FieldMap = map; QueueManger = queueManger; SqlBuilder = queueManger.DbProvider.CreateSqlBuilder(queueManger, this); ExecuteQuery = SystemConfigs.ConfigEntity.IsWriteDbLog ? new ExecuteQueryProxy(this) : new ExecuteQuery(this); }
public override ISqlBuilder CreateSqlBuilder(BaseQueueManger queueManger, Queue queue) { return(new SqlBuilder(queueManger, queue)); }
public ExpressionBool(BaseQueueManger queueManger, Queue queue) : base(queueManger, queue) { }
/// <summary> /// 查询支持的SQL方法 /// </summary> /// <param name="queueManger">队列管理模块</param> /// <param name="queue">包含数据库SQL操作的队列</param> public SqlBuilder(BaseQueueManger queueManger, Queue queue) : base(queueManger, queue) { }
/// <summary> /// 构造函数 /// </summary> /// <param name="queueManger">队列管理模块</param> /// <param name="queue">包含数据库SQL操作的队列</param> public ExpressionNew(BaseQueueManger queueManger, Queue queue) : base(queueManger, queue) { }
/// <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>(); } }
public override ISqlBuilder CreateSqlBuilder(BaseQueueManger queueManger, Queue queue) { return new SqlBuilder(queueManger, queue); }
public SqlBuilder2000(BaseQueueManger queueManger, Queue queue) : base(queueManger, queue) { }
/// <summary> /// 查询支持的SQL方法 /// </summary> /// <param name="queueManger">队列管理模块</param> /// <param name="queue">包含数据库SQL操作的队列</param> public SqlBuilder(BaseQueueManger queueManger, Queue queue) { QueueManger = queueManger; Queue = queue; Visit = new ExpressionVisit(queueManger, Queue); }