tag:blogger.com,1999:blog-2629608947246129428.post2269894453199267307..comments2024-02-18T05:01:43.733-07:00Comments on Reference Bits: AAPL Part 5: How to Write a Data Access Object (DAO)Rudy Lacovarahttp://www.blogger.com/profile/15639782534216467791noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-2629608947246129428.post-29385920314022829262010-06-14T07:46:04.085-06:002010-06-14T07:46:04.085-06:00@SeeSharpWriter, I checked out your gears framewo...@SeeSharpWriter, I checked out your gears framework, very cool and much more evolved than what I'm doing. Regarding the generics it sounds like we're using the exact same method, a little reflection to inspect the property names on the DTO class and then mapping them by name to columns in the DataReader.Rudy Lacovarahttps://www.blogger.com/profile/15639782534216467791noreply@blogger.comtag:blogger.com,1999:blog-2629608947246129428.post-18038971914866236962010-05-14T07:03:23.954-06:002010-05-14T07:03:23.954-06:00Nice approach, how do you achieve the generics ?
...Nice approach, how do you achieve the generics ? <br />In my <b><a href="http://seesharpgears.blogspot.com/search/label/CsharpGears%20Framework" rel="nofollow">C# gears framework</a></b>, I am using Reflection to examine the properties of the object and then bind them to the exact named columns in the datareader. However I have Business Layer above that so the only thing one needs to do is name the stored procedure to be executed.SeeSharpWriterhttps://www.blogger.com/profile/02098977942838434483noreply@blogger.com