Can I force Automapper to initialise properties in a certain order?
问题 I'm using Automapper and the Queryable Extensions to project some (similar) models into the same DTO in order to concatenate and sort them for paging on the DB server (via Entity Framework) without returning the data until it is paged. var tasksType1 = context.TasksType1.Project().To<MyDto>(); var tasksType2 = context.TasksType2.Project().To<MyDto>(); var allTasks = tasksType1.Concat(tasksType2); return allTasks.ToMyPagedList() This works well, except that now my models have got slightly more