-
I need advise about restoring original object after Saving failed. Here is what I am doing: I use ViewModelBase for my WPF application with ManageObjectLifetime set to false, since I want to control it myself. 1. "Edit" button pressed, I call ISupportUndo.BeginEdit. Object considered to be...
-
Hi Rocky I'm going through the MVVM video series and it occurred to me that it would be very nice if the ViewModel.BeginRefresh( string methodName ) method was capable of using a "non-magic string" syntax like like we do with the RegisterProperty convention? The RegisterProperty scenario...
-
Mr Rockford: I have a question about loading different data aynchronously into several different ViewModels/Models on initialization. I have a Silverlight client using just a WCF Service getting data from various sources. My Silverlight client is using the BxF framework and using CSLA Business Objects...
-
Hi all, Playing with CSLA 4 preview. Just a small WPF test application. Right now the behavior of DoRefresh is to catch any DataPortal exception and set the Error property on the ViewModel. In many (if not all) scenarios, I want to "blank out" all bound controls in such situation, so I'd...
-
As a part of some "architectural studies" for an up-coming project, I have been looking at the DataMapper class. We are looking at using data transfer objects (DTO) to communicate with the database and probably MVVM objects to communicate with WPF. One of the downsides with each of these is...
-
Hi Rocky, our views are instantiating the view models through the WPF binding engine - i.e. each viewmodel is a resource on the associated view. This requires a parameterless constructor. Currently the Model property of each ViewModel is being set in its constructor using an IoC container. However, we...