12345678910111213141516171819202122 |
- using Models;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace Interface
- {
- public interface BaseInterface
- {
- Boolean Add<T>(T data);
- Boolean DeleteItemBykey<T>(object key);
- T QueryItembyKey<T>(object key);
- Boolean Update<T>(T data);
- List<T> GetList<T>(int page, int rows, string order, List<EExpression> expression, bool isDesc = true);
- List<T> GetList<T>(string order,List<EExpression> expression, bool isDesc = true);
- int GetCount<T>();
- int GetPageListCount<T>(List<EExpression> expression);
- }
- }
|