Active Record pattern

With the Active Record pattern, each instance of the class represents a database row. So, if we have an instance of the class that is representing a particular row, we can use that instance to perform CRUD operation on that row and this can be implemented using Entity Framework or other ORM (Object Relational Mapper) tools.

If you have noticed in the Entity Framework, every class is bound to a consequent table, and contains properties that are tightly bound to the table columns. With this pattern, each POCO class represents a database row and contains a key and other properties to represent that row.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.138.202