I don't think there is a problem with this per se, but I would question the 
utility of such a layering approach because it subverts the intent of an 
interface, which is to separate contract from implementation, because it's 
unlikely to come to pass that you actually have more than one implementation of 
your model interfaces.

On Saturday, September 17, 2011 at 7:13 PM, Gitted wrote:

> My nhibernate entities are implement interfaces, is this wrong?
> 
> I was forced to do this because I moved all interfaces to their own
> vs.net (http://vs.net) project.
> 
> public class User : IUser
> {
> ..
> ..
> }
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Castle Project Users" group.
> To post to this group, send email to [email protected] 
> (mailto:[email protected]).
> To unsubscribe from this group, send email to 
> [email protected] 
> (mailto:[email protected]).
> For more options, visit this group at 
> http://groups.google.com/group/castle-project-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en.

Reply via email to