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);//修改


}

猜你喜欢

转载自www.cnblogs.com/wantnewlive/p/9921263.html
T