/// <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(); }
/// <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) { }
/// <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) { }
/// <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) { }
/// <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; }
/// <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) { }