How do you map two properties with the same name from different interfaces? Ideally I would be able to map the interface properties in a table-per-subclass type scenario where there are two tables with a foreign key linking to the main entity table and a column in each subclass table for the interface value, as that is the database schema that I have to work with.
Here's an example. The interfaces: public interface IFooString { string Foo { get; set; } } public interface IFooInt { int Foo { get; set; } } public class ConcreteFoo : IFooString, IFooInt { public int Id { get; set; } string IFooString.Foo { get; set; } int IFooInt.Foo { get; set; } } Any help is appreciated. Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to nhusers@googlegroups.com To unsubscribe from this group, send email to nhusers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---