예제 #1
0
 /// <summary>
 /// 查询支持的SQL方法
 /// </summary>
 /// <param name="dbProvider">数据库提供者(不同数据库的特性)</param>
 /// <param name="expBuilder">表达式持久化</param>
 /// <param name="name">表名/视图名/存储过程名</param>
 internal SqlBuilder(AbsDbProvider dbProvider, ExpressionBuilder expBuilder, string name)
 {
     DbProvider = dbProvider;
     ExpBuilder = expBuilder;
     Name = name;
     Param = new List<DbParameter>();
     Sql = new StringBuilder();
 }
예제 #2
0
 /// <summary>
 /// 查询支持的SQL方法
 /// </summary>
 /// <param name="dbProvider">数据库提供者(不同数据库的特性)</param>
 /// <param name="expBuilder">表达式持久化</param>
 /// <param name="name">表名/视图名/存储过程名</param>
 internal OracleSqlBuilder(AbsDbProvider dbProvider, ExpressionBuilder expBuilder, string name) : base(dbProvider, expBuilder, name) { }
예제 #3
0
 /// <summary>
 /// 默认构造器
 /// </summary>
 /// <param name="dbProvider">数据库提供者(不同数据库的特性)</param>
 /// <param name="map">字段映射</param>
 /// <param name="paramList">SQL参数列表</param>
 public InsertVisitor(AbsDbProvider dbProvider, FieldMap map, List<DbParameter> paramList) : base(dbProvider, map, paramList) { }
 /// <summary>
 /// 查询支持的SQL方法
 /// </summary>
 /// <param name="dbProvider">数据库提供者(不同数据库的特性)</param>
 /// <param name="expBuilder">表达式持久化</param>
 /// <param name="name">表名/视图名/存储过程名</param>
 public SqlServerSqlBuilder2000(AbsDbProvider dbProvider, ExpressionBuilder expBuilder, string name) : base(dbProvider, expBuilder, name) { }
예제 #5
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) { }
예제 #6
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;
 }
예제 #7
0
 /// <summary>
 /// 查询支持的SQL方法
 /// </summary>
 /// <param name="dbProvider">数据库提供者(不同数据库的特性)</param>
 /// <param name="expBuilder">表达式持久化</param>
 /// <param name="name">表名/视图名/存储过程名</param>
 public MySqlSqlBuilder(AbsDbProvider dbProvider, ExpressionBuilder expBuilder, string name) : base(dbProvider, expBuilder, name) { }