1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
kondor19780726 [428]
3 years ago
15

Given an object context for an Entity Data Model named mmaBooks, which of the following statements would you use to add a Custom

er 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);
Computers and Technology
1 answer:
ehidna [41]3 years ago
3 0

Answer:

"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.
You might be interested in
You can perform an in-place upgrade to Windows 7 from both Windows XP and Windows Vista
Ede4ka [16]

wait you can, how?

please explain

7 0
3 years ago
Read 2 more answers
Write a program that prints the number 1 through 10 using a while loop
vova2212 [387]
Which programming language are you working in?

Here is how you could achieve this in Python:

establish a counter, starting at 1.
While your counter is 10 or less, do two things:
print the counter,
and increase the counter by 1.

code:
counter = 1

while counter <= 10:
print(counter)
counter = counter + 1

Those last two lines should be indented.
7 0
3 years ago
Which character goes at the end of a line of code that starts with if?
weqwewe [10]

Answer:

Explanation:

tttttttttttt

4 0
3 years ago
If a program compiles fine, but it produces an incorrect result, then the program suffers from _______________.
tatiyna
In my answer I am making an assumption that there is no runtime error, if there is then the error is “a run-time error”.

The answer is the program suffers from a Logic Error
5 0
3 years ago
Suppose you're trying to remove the clamp from a ground strap that's connected to a battery. The clamp won't come loose. Which o
Mekhanik [1.2K]
The answer would be B.
5 0
3 years ago
Read 2 more answers
Other questions:
  • You need to put cabling for connecting two new computers in a room, which did not have any network infrastructure. Because of th
    9·2 answers
  • The convergence of information technology and operations technology, offering the potential for tremendous improvements in effic
    14·1 answer
  • Another name for divergent boundaries that occur under the ocean is
    6·2 answers
  • Ok so this question is kinda weird but does anyone know what google drive is. If so how do you upload a video to it?
    11·2 answers
  • This is the term for the manual process of editing strips of the film before digital editing was created. The term is still used
    9·1 answer
  • Power delivered to the hitch of tractors is called
    12·1 answer
  • An invisible path determining the way of travel from one place to another.
    10·1 answer
  • For each obstacle, select the best solution. failing to find other members for a club: failing a class: failing to get the credi
    9·2 answers
  • Laptop computers use PCMCIA cards, another type of ________
    15·1 answer
  • What is the Cycle of Dependency?
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!