Data access layer: Difference between revisions

Content deleted Content added
dablink, Replaced: tabletable, using AWB
No edit summary
Line 5:
 
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 consider that you have to interact from a specific table in the database (like insert, delete, update)then you just create a claas 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 retyrn an object containing the requested values.
 
[[Category:Databases]]