Reference no: EM132691864
1. The _______________ represent various components that a database represents, and the _______________ allows communication with the database.
component properties - database property
entity classes - database context class
facade classes - dataset classes
context classes - dataset component
2. Writing entity and database context classes before generating a new database is called
Code First development
Initial Class development
Database First development
Entity Relationship development
3. To establish a many-to-many relationship between two entities, you typically use a
composite entity
linking entity
foreign entity
context entity
4. If one customer can have many invoices, but each invoice can belong to only one customer, what type of relation exists between customers and invoices?
primary-to-foreign
many-to-many
one-to-one
one-to-many
5. You can configure the creation of database tables in each of the following ways except
configuration by convention
data attributes
Fluent API
JSON plugins
6. Which of the following commands would you use in the Package Manager Console if you want to revert a database to a previous migration?
Drop-Database
Add-Migration
Scaffold-DbContext
Update-Database
7. To avoid losing modifications of entity classes that are generated from a database, it's common to use
entity cloning
code segmentation
direct injection
partial classes
8. The concurrency option in EF Core that throws an exception whenever a row has been changed since its last retrieval is called
refusal concurrency
optimistic concurrency
pessimistic concurrency
last in wins
9. Providing basic CRUD operations for each class and further abstracting their details with use of an interface is a common design pattern named the
requisition pattern
chain of responsibility pattern
observer pattern
repository pattern
10. The unit of work pattern provides a central class that allows several _____________ objects to share a DB context.
observer
requisition
chain of responsibility
repository
11. To commit insert, update, and delete operations on a DbSet<T> object to the database, what method of the DbContext class must you call?
Disconnect()
Update()
SaveChanges()
Commit()
12. To begin encapsulating code for data access, it's often helpful to begin by adding extention methods to the interface named
ILINQable<T>
IQueryable<T>
IEnumerable<T>
IRunnable<T>
Find what the machine net present value is
: Using a discount rate of 10%, the machine's net present value is? Austin estimates that the new machine will increase the company's annual net cash inflows.
|
Calculate the correct solution to the problem
: You are required to show the following 3 steps for each problem (sample questions and solutions are provided for guidance):
|
Discuss about the substance abuse interventions
: Substance use is another common problem among many adolescents. An important consideration is severity of use-mild, moderate, or severe-which helps clinicians.
|
Vulnerability refers to known weakness of asset
: A vulnerability refers to a known weakness of an asset (resource) that can be exploited by one or more attackers.
|
Establish many-to-many relationship between two entities
: Writing entity and database context classes before generating a new database is called, To establish a many-to-many relationship between two entities,
|
Find what the amount of the annual net income was
: Find what the amount of the annual net income was? A project that cost $75,000 has a useful life of 5 years and a salvage value of $3,000.
|
What are the three types of risk that a global company
: What are the three types of risk that a global company is exposed to as a consequence of currency fluctuations?
|
What is the interest expense in the first year
: The sales proceeds of the bonds are $5,040,849. Under the straight-line method, what is the interest expense in the first year
|
Post national and international challenges you selected
: Post a brief description of the national and international challenges you selected. Explain why addressing these challenges is important to the profession.
|