IBase<T>

public interface IBase<T>//基类
{
IEnumerable<T> SelectAll();//查询所有

T FindById(int ID);//根据id查数据

void IsertInfo(T entity);//插入

void Delete(int ID); //删除

void Update(T entity);//修改

 


}

posted @ 2018-11-07 10:53  吃老干妈就西瓜  阅读(218)  评论(0编辑  收藏  举报