hope this fix your issue Yes, each domain object should have ID, because you must provide uniqueness of each entity in database. Type of Id field depends on database which you use. If you use sql database then it is usually long type. If you use MongoDb - it is String.
private long houseId;
private List<Room> rooms;
private Address address;
private int roomId;
private House house;
private long addressId;
Hope that helps MSBuild .proj files have been superseeded by windows workflow XAML build templates in VS2010 so I would go with that approach. As far as I know, either way you will have to install Visual Basic on the server as you need the old VB6 compiler.
How bypass n+1, correct domain -> ViewModel.FromMyDomain approach
With these it helps since you have your session in the controller, why not hydrate the view model directly ?
from entity in session.Query<Entity>()
join order in session.Query<Order> join entity.EntityId on order.Entity.EntityId
select new EntityOrderDTO // or anon
EntityId = entity.EntityId,
Name = entity.Name,
OrderName = order.OrderName
Is this correct approach for a single summation in time domain in Matlab?