Hi,
I have an XAF application with a ViewController with these lines of code:
Session session = (this.gridListView.ObjectSpace as XPObjectSpace).Session;
UnitOfWork uow = new UnitOfWork(session.DataLayer);
Everythings works fine but I have to use a middle tier application server. Using that, the application comes up correctly, but (when the view controller above) executes the second line of the code, the DataLyer is null.
Can you please help?
many thanks,
Marco