I'm converting our project CSLA 4.1.0 from CSLA 188.8.131.52. I've noticed that some of the LoadProperty statements in DataPortal_Fetch throw an invalid cast exception. They're managed properties of type bool, and the dataReader column type is bit. I now have to call Convert.ToBool whereas before it would just work. There are a few other conversions that don't work anymore either. What changed?
Also, should I be wrapping using(BypassPropertyChecks) around the LoadProperty() statements?
Anybody? Bueller, Beuller?
The non-generic LoadProperty overloads were completely rewritten in CSLA 4.
The generic LoadProperty overloads are mostly unchanged.
Copyright (c) Marimer LLC