首页 新闻 会员 周边

继承与接口实现

0
[已关闭问题] 关闭于 2012-02-20 16:26
public class AppointmentRepository : GenericRepository<Appointment>, IAppointmentRepository
{
public AppointmentRepository(Context context) : base(context)
{ }
}


如果将GenericRepository<Appointment>这个继承的基类删除掉,就会提示实现接口。我郁闷,为啥多一个基类,那个实现的接口咋就不提示要我实现了呢?

凡一二三的主页 凡一二三 | 初学一级 | 园豆:85
提问于:2012-02-20 16:21
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册