Jump to content

Table data gateway

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Jlwoodwa (talk | contribs) at 00:39, 15 September 2024 (Adding short description: "Design pattern"). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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.