ASP.NET MVC 3, RavenDB, & Autofac Issue Plus 2 Other Autofac Questions

前端 未结 2 1317
-上瘾入骨i
-上瘾入骨i 2021-01-05 05:08

NOTE: There are 3 questions in here and I did not make separate questions since they are all somewhat related to the same code.

I have the following

2条回答
  •  庸人自扰
    2021-01-05 05:57

    There was also the issue that OpenSession returns a IDocumentSession instead of a DocumentSession. Changing my class to look for a IDocumentSession along with doing what Jim suggested worked, thanks.

提交回复
热议问题