[英]The type or namespace name 'IProductRepository' couldn't be found (Missing directive of assembly reference)
I can't add using OnlineShoppingStore.Domain.Abstract; 我不能使用OnlineShoppingStore.Domain.Abstract添加; in my OnlineShoppingStore.WebUI AppStart > NinjectWeb common.cs files
在我的OnlineShoppingStore.WebUI AppStart> NinjectWeb common.cs文件中
private static void RegisterServices(IKernel kernel)
{
kernel.Bind<IProductRepository>().To<EFProductRepository>();
}
How to add reference in <IProductRepository>
? 如何在
<IProductRepository>
添加引用?
I had this same problem and this cleared it up. 我遇到了同样的问题,并解决了这个问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.