using OTSModelSharp.DTLBase; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OTSModelSharp.DTLBase { public interface IDBBase { /// 建表 /// /// 如果a_bClean删除表再建表 /// bool Init(bool a_bClean = false); /// ///建表 /// /// bool CreateTable(bool a_bForce=false); /// ///删除表 /// /// bool DeleteTable(); /// ///移除表数据 /// /// bool RemoveAllRows(); /// /// 判断表是否存在 /// /// bool IsDBExist(); /// /// 获取连接字符串 /// /// IDBStoreBase GetDatastore(); /// /// 获取表结构 /// /// IDBTableBase GetTableInfo(); /// /// 获取表所有信息 /// /// 排序字段 /// IDBQueryBase GetTableQuery(string a_sOrderColumnName); } }