I created a PatchDataHelper class to aid in mapping Patch instances from DataRows. I also brought in a DataMapping class that provides anonymous row/reader to object mapping using reflection. Assuming properties and column names are the same this should work nicely and save me a bunch of typing.
My initial approach seems cumbersome and unwieldy. After putzing around for a while, I decided to try wrapping the TableAdapterManager through the Database class, access all of the 'helper' code from that level, and focus on using a single typed dataset.
Hopefully I can build on this momentum and not let it slip by the wayside again...
Monday, December 28, 2009
Back from hiatus
The NyMPH project was unintentionally put on hold. My wife decided to have back surgery, which has taken most of my free time (until Christmas, which took up the rest of it).
I'm looking forward to getting back into the NyMPH project. Hopefully I can remember what I was doing. :)
I'm looking forward to getting back into the NyMPH project. Hopefully I can remember what I was doing. :)
Subscribe to:
Posts (Atom)