| 123456789101112131415161718192021222324252627282930 | 
							- 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<string, Type> columns, bool addPID, string primaryKey);
 
-         void CreateTableIndexIfNotExisted(string table, string index, string sql);
 
-         void CreateTableColumn(string table, Dictionary<string, Type> columns);
 
-         void Insert(string sql);
 
-         int SyncInsert(string sql);
 
-         void Update(string sql);
 
-         int SyncUpdate(string sql);
 
-         DataSet ExecuteDataset(string cmdText, params object[] p);
 
-         int GetAllCount(string cmdText, params object[] p);
 
-     }
 
- }
 
 
  |