Source: Fairway Technologies Blog

Fairway Technologies Blog Simplify ADO.NET Using Generic Methods and Reflection

A common task we face as developers is to take data from a database table and create a collection of entity objects. We have several methods to accomplish this task. You can build a DataTable or DataReader, loop through the rows, build a new object for each row, and write lines of code to transfer column data to each corresponding property. Another method is to use an object relational mapper (ORM) such as the Entity Framework, Dapper or NHibernate which performs these operations for you. Have you ever wondered how these ORMs build the collection? Well, wonder no more. This blog post will show you how it is done.

Read full article »
Est. Annual Revenue
$5.0-25M
Est. Employees
25-100
Brett Humphrey's photo - CEO of Fairway Technologies

CEO

Brett Humphrey

CEO Approval Rating

90/100

Read more