Hi,

I've found similar questions around the place, but not really any
concrete answers.

If I had a scenario where I had an interface and classes like

public interface IContent
{
      string Content { get; }
}

public class ContentTypeOne : IContent
{
        // interface members

       // other members
}

public class ContentTypeTwo : IContent
{
        // interface members

       // other members
}

Is there a way that I can map this in NHibernate such that I can do a
query for IContent objects?

Thanks,
Matt

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" 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/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to