title: How to map a calss that inherits an asbtract class and implements an interface at the same time in nHibernate?
body: <p>Imagine we have this entities:</p>
  
  <pre><code>public interface ISomeone
  {
  }
  
  public abstract class Parent
  {
  }
  
  public class Child : Parent , ISomeone
  {
  }
  
  public class Orphan : ISomeone
  {
  }
  
  public class MyHeart
  {
    public ISomeone Person {get;set;}
  }
  </code></pre>
  
  <p>then how is possible to mapping theses all classes in nhibernate?
  I prefer to use separate tables for "Parent", "Orphane" and "MyHeart" class.
  "Parent" , "Orphan" and "MyHeart" should be persist as aggrigate root and MyHeart could has a relation to any entity that implemented "ISomeone" interface. so it could expande across diffrent entity types with diffrent id form diffrent tables</p>