using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; namespace Top._51Try.Data.SPI { public interface IDBEntity { //用一个算法,解析出一种插入的解决方案,然后进行缓存,下次插入时直接调用 /** * 1. 先用 表达式树的 方式 能够将字段 高效的处理好 * 2. * */ bool Insert
(string tableName, string columnName, params P[] columnValues);
DataTable GetDataTableByPager(int currentPage, int pageSize, string selColumns, string joinTableName, string whereStr, string orderbyStr, out int totalCount);
T GetById (string tableName, string columnName, object columnValue, params P[] excludeValues);
//List