There is MS Visual Studio 2010 and MS .NET Framework 4 application PassGuideApp.
PassGuideApp connects to a MS SQL Server 2008 database PassGuideDB.
PassGuideApp uses EDM to model entities. These entities includes Employees to
PassGuideDB.
You must add a new Employees entity, but you do not want to set all properties of the
entity.
What should you do? Select three.
A.
Use the data context object…
B.
Use the Employees context object…
C.
..and call…
D.
..and override…
E.
..and modify…
F.
..the Create method.
G.
..the Create Object method.
H.
.. the Save Changes method.
Explanation:
I’m pretty sure the specified answer is wrong. There is no method called ‘Create’ inside either DataContext, or ObjectContext classes. Source:
http://msdn.microsoft.com/en-us/library/system.data.objects.objectcontext_methods%28v=vs.110%29.aspx
The only method that makes sense is CreateObject method:
http://msdn.microsoft.com/en-us/library/dd487204%28v=vs.110%29.aspx
ObjectContext.CreateObject Method – Creates and returns an instance of the requested type.
So the correct answer (IMO) is:
User the Employees context object…
…and call…
…the Create method.
Typo in my last post, sadly can’t edit. The correct answer is:
Use the Employees context object…
…and call…
…the Create OBJECT method.
I agree with that, there is a question in the other 70-516 question set here, that has CreateObject in its answer as far as i remember.