How to inject Repository object in my Domain Entity/Model? – Asp.net
I have few validations to be done for a domain entity which requires DB Call.So i wanted to use my repository object in my domain model.I tried using Dependency injection but it does not do the work,and gives me null…