Hi,

Trying to get an understanding of how nhibernate is setup.

So there is a generic Repository (IRepository) that is used I noticed, so
you basically create a private variable and pass in the type of the
repository for the given entity like:

private readonly IRepository<ContentItemRecord> _contentItemRepository;


This means that each entity can only have the methods defined in
IRepository, don't some entities have additional methods?  i.e. this would
require a seperate file like ContentItemRepository.cs that would implement
IRepository and then somehting like IContentItemRepository.

1. Does this exist anywhere?


2. Where are the mappings for each model?

Reply via email to