I'm trying to map two tables in one Entities as these tables is really one entity. I've tried llblgen and Visual NHibernate without any success as both designers
Visual NHibernate can't see one to one relationship, however I've implemented it. Maybe my database schema didn't satisfy all requirements for such inheritance implementation. However I thought that all I need is to have one to one relationship to make this type of inheritance.
Maybe some of you guys have already tried it?
Edit: Adding tables picture
I want my following class
public class Expense {
public int Id {get; set;}
public int Type {get; set;}
public decimal Amount {get; set;}
public string SomeAdditionalInfo {get; set;}
}