Hi,

I've got a repository pattern and unit of work pattern in place for my data 
layer.  I have another layer which performs most of the heavy lifting logic 
and calls to the Unit of Work object in the data layer.  I am building unit 
tests for the logic layer.  I just dumped Rhino Mocks into the project and 
setup my project.  All of the code validates but when I try to build the 
project the compiler blows up.  I've not seen the error below before.  Any 
ideas what I might be doing wrong?

The type 'Merlin.Data.Models.System.User' must be a reference type in order 
> to use it as parameter 'T' in the generic type or method 
> 'Merlin.Data.Interfaces.IRepository<T>'


My class file is viewable here: https://gist.github.com/4527284 

-- 
You received this message because you are subscribed to the Google Groups 
"Rhino.Mocks" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rhinomocks/-/tEJJfYGuc88J.
To post to this group, send email to rhinomocks@googlegroups.com.
To unsubscribe from this group, send email to 
rhinomocks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rhinomocks?hl=en.

Reply via email to