Ejemplo n.º 1
0
 internal Queue(InternalContext context, EntityDataMap map)
 {
     ID = Guid.NewGuid();
     Context = context;
     Map = map;
     CreateAt = DateTime.Now;
 }
Ejemplo n.º 2
0
 /// <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;
     }
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Select筛选字段时表达式树的解析
 /// </summary>
 /// <param name="dbProvider">数据库提供者(不同数据库的特性)</param>
 /// <param name="map">字段映射</param>
 /// <param name="paramList">SQL参数列表</param>
 public SelectVisitor(AbsDbProvider dbProvider, EntityDataMap map, List<DbParameter> paramList) : base(dbProvider, map, paramList) { }
Ejemplo n.º 4
0
 /// <summary>
 /// 默认构造器
 /// </summary>
 /// <param name="dbProvider">数据库提供者(不同数据库的特性)</param>
 /// <param name="map">字段映射</param>
 /// <param name="paramList">SQL参数列表</param>
 protected AbsSqlVisitor(AbsDbProvider dbProvider, EntityDataMap map, List<DbParameter> paramList)
 {
     DbProvider = dbProvider;
     EntityMap = map;
     ParamList = paramList;
 }