Table data gateway

From Wikipedia, the free encyclopedia

Table Data Gateway is a design pattern in which an object acts as a gateway to a database table.[1] The idea is to separate the responsibility of fetching items from a database from the actual usages of those objects. Users of the gateway are then insulated from changes to the way objects are stored in the database.

References[edit]

  1. ^ Fowler, Martin. "P of EAA: Table Data Gateway". Retrieved 2009-02-11.