This question is locked. New answers and comments are not allowed.
                        
                        Hello,
how do I make an interface persistent with FluentMapping? In old API it was possible an required columns where automatically created ( object_id and object_class).
An example:
 
 
 
 
 
 
 
                                how do I make an interface persistent with FluentMapping? In old API it was possible an required columns where automatically created ( object_id and object_class).
An example:
public interface IOwner    {        int Id { get; set; }        string Name { get; set; }    }public class Company : IOwner     {        public int Id { get; set; }        public string Name { get; set; }} public class User : IOwner     {        public int Id { get; set; }        public string Name { get; set; } } public class Resource    {        public int Id { get; set; }        public string Key{ get; set; }                public IOwner Owner { get; set; }   //can be User or Company}