Automapper projection and union
问题 I have a problem with union and automapper projections. I have two entities: public class Entity { public DateTime ActionDate { get; set; } public int SomeProp { get; set; } } public class ExtendedEntity { public DateTime ActionDate { get; set; } public int SomeProp { get; set; } public int SomeOtherProp { get; set; } } and projection: public class EntityProjection { public DateTime ActionDate { get; set; } public int SomeProp { get; set; } public int SomeOtherProp { get; set; } public string