internal Queue(InternalContext context, SetDataMap map) { ID = Guid.NewGuid(); Context = context; Map = map; CreateAt = DateTime.Now; }
/// <summary> /// 释放资源 /// </summary> /// <param name="disposing">是否释放托管资源</param> private void Dispose(bool disposing) { //释放托管资源 if (disposing) { Context = null; Map = null; _expBuilder = null; _sqlBuilder = null; _procBuilder = null; LazyAct = null; } }
/// <summary> /// 提供字段插入表达式树的解析 /// </summary> /// <param name="dbProvider">数据库提供者(不同数据库的特性)</param> /// <param name="map">字段映射</param> /// <param name="paramList">SQL参数列表</param> public InsertVisitor(AbsDbProvider dbProvider, SetDataMap map, List<DbParameter> paramList) : base(dbProvider, map, paramList) { }
/// <summary> /// 默认构造器 /// </summary> /// <param name="dbProvider">数据库提供者(不同数据库的特性)</param> /// <param name="map">字段映射</param> /// <param name="paramList">SQL参数列表</param> protected AbsSqlVisitor(AbsDbProvider dbProvider, SetDataMap map, List<DbParameter> paramList) { DbProvider = dbProvider; SetMap = map; ParamList = paramList; }
public override WhereVisitor CreateWhereVisitor(SetDataMap map, List<DbParameter> paramList) => new OleDbWhereVisitor(this, map, paramList);
/// <summary> /// Select筛选字段时表达式树的解析 /// </summary> /// <param name="dbProvider">数据库提供者(不同数据库的特性)</param> /// <param name="map">字段映射</param> /// <param name="paramList">SQL参数列表</param> public OleDbWhereVisitor(AbsDbProvider dbProvider, SetDataMap map, List<DbParameter> paramList) : base(dbProvider, map, paramList) { }