Data access layer classes should ____.Question 9Select one:a.process all business rules with appropriate logicb.accept input datac.display data fieldsd.contain Structure Query Language (SQL) statements
Question
Data access layer classes should ____.Question 9Select one:a.process all business rules with appropriate logicb.accept input datac.display data fieldsd.contain Structure Query Language (SQL) statements
Solution
The data access layer classes should contain Structure Query Language (SQL) statements.
Here's why:
a. Processing all business rules with appropriate logic is typically the responsibility of the business logic layer, not the data access layer.
b. Accepting input data is usually handled by the user interface layer or the business logic layer, not the data access layer.
c. Displaying data fields is a function of the presentation layer or user interface layer, not the data access layer.
d. The data access layer is responsible for communicating with the database. This includes executing SQL statements to retrieve, insert, update, and delete data. Therefore, the data access layer classes should contain SQL statements.
Similar Questions
Abstraction can apply to:Select one:a.Classesb.Control and datac.Only datad.Only control
__________ provides the ability to query data, as well as insert, alter, and delete tuples.a.TCL (Transaction Control Language)b.DML (Data Manipulation Language)c.DCL (Data Control Language)d.None of the answers are correcte.DDL (Data Definition Language)
Domain layer classes should ____.Question 4Select one:a.prepare persistent classes for storage to the databaseb.start up and shut down the systemc.edit and validate input datad.establish and maintain connections to the database
__________describes the data contained in the data warehouse.Question 15Answera.Relational datab.Metadata.c.Operational datad.Informational data.
__________describes the data contained in the data warehouse.Question 15Answera.Relational datab.Operational datac.Informational data.d.Metadata.
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.