Which framework is a database map that an app uses, and can be built from code or from a database?

Study for the IT Specialist – Software Development exam. Enhance your skills with flashcards and multiple choice questions, complete with hints and explanations. Get fully prepared for your test!

Multiple Choice

Which framework is a database map that an app uses, and can be built from code or from a database?

Explanation:
An ORM serves as a bridge between a database and the programming language, mapping tables to classes and rows to objects so you can work with data using code rather than SQL. Entity Framework is the ORM framework for .NET that provides this mapping. It can be built from code using the code-first approach, where you define domain classes and EF creates the database, or from an existing database using the database-first approach, where EF generates classes and a context from the schema. This dual capability is what makes it the fit for a database map an app uses that can be built either from code or from a database. The other options aren’t this kind of mapping framework: the Data Access Layer is a pattern for organizing data access, Model-View-Controller is an architectural pattern for separating concerns, and a REST API defines how to access data over HTTP rather than how the app maps database tables to objects.

An ORM serves as a bridge between a database and the programming language, mapping tables to classes and rows to objects so you can work with data using code rather than SQL. Entity Framework is the ORM framework for .NET that provides this mapping. It can be built from code using the code-first approach, where you define domain classes and EF creates the database, or from an existing database using the database-first approach, where EF generates classes and a context from the schema. This dual capability is what makes it the fit for a database map an app uses that can be built either from code or from a database. The other options aren’t this kind of mapping framework: the Data Access Layer is a pattern for organizing data access, Model-View-Controller is an architectural pattern for separating concerns, and a REST API defines how to access data over HTTP rather than how the app maps database tables to objects.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy