Microsoft
MB2-701 · Question #35
You have the following code segment to create a contact. (Line numbers included for reference only.) Which additional step should you add to commit the contact information to the database?
The correct answer is A. orgContext-SaveChanges(). See the full explanation below for the reasoning.
Question
You have the following code segment to create a contact. (Line numbers included for reference only.) Which additional step should you add to commit the contact information to the database?
Exhibit
Options
- AorgContext-SaveChanges();
- B_contactId = _serviceProxy.Create(contact);
- CorgContext-SaveObject(contact);
- Dcontact.SetAttributeValue("name", value);
How the community answered
(29 responses)- A76% (22)
- B3% (1)
- C14% (4)
- D7% (2)
Community Discussion
No community discussion yet for this question.
