Changed EF to table per type