Data access layer: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 6:
For example, the DAL might return a reference to an [[object (computer science)|object]] (in terms of [[object-oriented programming]]) complete with its attributes instead of a [[row]] of [[fields]] from a database [[table (database)|table]]. This allows the client (or using) modules to be created with a higher level of [[abstraction]]. This kind of model could be implemented by creating a class of data access methods which directly reference a corresponding set of database stored procedures.
 
Just as considerConsider that you have to interact from a specific table in the database (like insert, delete, update)then you just create a class and a few stored procedures in the database, where you call those Stored Procedures from a method inside the class. and class in return on the coding side will return an object containing the requested values.
 
[[Category:Databases]]