12345678910111213141516171819202122232425262728 |
- 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);
- }
- }
|