I'm new to WPF, but not Csla. I'm a bit confused about the uses of the CslaDataProvider. Is there anyway to databind to the XAML via an object that I fetch through the codebehind???
For example, I already have a constructed object that I pass to my form's constructor. I don't want the XAML to call the Factory method Fetch because I already have the object.
I would use a standard ObjectDataProvider, but it requires a default constructor on the class, which breaks Csla convention....
How can this be done?
Set your fetched csla business object as the datacontext in the constructor of your form:
Me.DataContext = MyCSLABusinessObject
Copyright (c) Marimer LLC