using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; namespace Aitex.Core.RT.DBCore { public interface ICommonDB { void CreateTableIfNotExisted(string table, Dictionary columns, bool addPID, string primaryKey); void CreateTableIndexIfNotExisted(string table, string index, string sql); void CreateTableColumn(string table, Dictionary columns); void Insert(string sql); DataSet ExecuteDataset(string cmdText, params object[] p); int GetCount(string cmdText, params object[] p); } }