Ejemplo n.º 1
0
 /// <summary>
 /// 初始化新对象
 /// </summary>
 /// <param name="Object">数据对象</param>
 /// <param name="factory">当前操作对象</param>
 protected internal AccessTableToSQL(TableBase Object, Factory factory) : base(Object, factory, new List <IDbDataParameter>())
 {
     tablename = Object.TableCondition.TableName;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 已重载,语句创建
 /// </summary>
 /// <param name="tablebase">语句创建</param>
 protected override TableToSQL CreateTableToSQL(TableBase tablebase)
 {
     return(new MySqlTableToSQL(tablebase, this));
 }
Ejemplo n.º 3
0
 /// <summary>
 /// 创建一个语句创建
 /// </summary>
 /// <param name="tablebase">数据</param>
 protected virtual TableToSQL CreateTableToSQL(TableBase tablebase)
 {
     return(new TableToSQL(tablebase, this));
 }
Ejemplo n.º 4
0
 /// <summary>
 /// 获取第一行第一列的数据
 /// </summary>
 /// <param name="Object">对象</param>
 public virtual Object GetScalar(TableBase Object)
 {
     return(GetScalar <object>(Object));
 }
Ejemplo n.º 5
0
 /// <summary>
 /// 初始化新对象
 /// </summary>
 /// <param name="Object">数据对象</param>
 /// <param name="factory">当前操作对象</param>
 protected internal TableToSQL(TableBase Object, Factory factory) : this(Object, factory, new List <IDbDataParameter>())
 {
 }