Ask Question
2 March, 16:08

Given an object context for an Entity Data Model named mmaBooks, which of the following statements would you use to add a Customer object named customer to the entity collection named Customers in the object context?

a. db. Add. Customers (customer);

b. db. AddToCustomers (customer);

c. db. Customers. Add (customer);

d. db. AddCustomer (customer);

+3
Answers (1)
  1. 2 March, 18:25
    0
    "mmaBooks. Customers. Add (customer); " is a correct answer for the above question.

    Explanation:

    Missing information : The correct answer is missing in the question which is defined in the answer part.

    If a user wants to add any objects to any collection in the C# programming, then he needs to follow the "Entity_data_model_named. collection_name. ADD (object_name) " syntax. The above question also wants this type of statement. The option c states the same statements, but there is needs one statement to define the name of db or database models. But the option c does not hold the name of the database models. Hence it is not the correct answer. And the other options do not follow the syntax to add, hence others is also not a valid option.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Given an object context for an Entity Data Model named mmaBooks, which of the following statements would you use to add a Customer object ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers