I have a self-join class like this:
class User
{
    public string Username;
    public IList<User> Friends;
    public IList<User> BlockedUsers;
}
Friends and BlockedUsers are seperated by this enum class
public enum UserRelation
{
    Friend = 1,
    Block = 2
}

How can I write the relation in the hbm file? Sorry about noob question :(, and thanks for reading

--~--~---------~--~----~------------~-------~--~----~
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