标签:
请在抽象类下属性加virtual或abstract
public abstract class CBase { [Dependency] public abstract ARepository ARepository { get; set; } [Dependency] public virtual BRepository BRepository { get; set; }
抽象类中的依赖属性如何注入
原文地址:http://www.cnblogs.com/langu/p/5691560.html