Hi, my application has the following interfaces:
public IDataContext {
IRepository<T> Repository<T>() where T : class;
}
public interface IRepository<T> where T : class {
T GetById(int id);
}
I have my own implementation setup and initialized using an ioc container. Usually i'd be...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.