1. Overview Flashcards

1
Q

What is an object-relational mapper?

A

A tool used to manage/convert database data from an object-oriented programming perspective.

eg. Database tables are treated as classes and database fields are treated as properties.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Entity Framework?

A

An object-relational mapping (ORM) framework that enables developers to work with relational data as domain-specific objects, eliminating the need for most of the data access plumbing code that developers usually need to write.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the benefits of Entity Framework?

A
  1. Reduction of code
  2. Facilitates implementing the Domain Model pattern
  3. Make changes to the object model in one place
  4. Rich query capability
  5. Navigation
  6. Completely configurable data loads
  7. Concurrency support
  8. Cache management
  9. Transaction management and isolation
  10. Code-first and database-first support
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What should you consider when deciding whether to use Entity Framework on your project?

A
  1. Is the project large?
  2. Will the project take advantage of its benefits?
  3. Will converting to EF produce more benefits than issues?
  4. Use it for the entire project or just a portion of the project?
  5. Which version is more appropriate?
How well did you know this?
1
Not at all
2
3
4
5
Perfectly