문제

Was wondering in which layer project i should put the DbContext implementation if i am working with an MVC 3 project which integrate 3 layers ( BusinessLogic, Persistence, Domain)

Should it be directly in the MVC 3 project ? or in persistence ?

Thanks.

도움이 되었습니까?

해결책

Persistence, as it's responsible for persisting the data to the database.

If it doesn't belong there, what does?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top