PrepAway - Latest Free Exam Questions & Answers

How can this be achieved?

DRAG DROP
Employee XML Schema Exhibit:
<EntityType Name ’XPerson”
<Key>
<PropertyRef Name=”PersonId” I>
</Key>
<Property Name=”Employeeid” Typel=”int32” Nullable=”false” />
<Property Name=”PersonalData” Type=”String”/>
<Property Name=”City” Type”String”/>
<Property Name=”Zip” Type=’String”/>
</Entitytype>
There is MS Visual Studio 2010 and MS .NET Framework 4 application PassGuideApp.
The MS ADO.NET EDM (Entity Data Model) is used by PassGuideApp.
PassGuideApp has an entity Employee.
The schema of Employee is being displayed in the exhibit.
Entities within PassGuideApp should be able add Employee properties weight, height, and
sex (all related to PersonalData).
How can this be achieved?

PrepAway - Latest Free Exam Questions & Answers

Answer:

Explanation:

2 Comments on “How can this be achieved?

  1. John Galt says:

    The answer seems correct. See the following link:
    http://msdn.microsoft.com/en-us/library/vstudio/cc716799%28v=vs.100%29.aspx

    The only problem is with Action #2. You can’t determine whether the type should be:
    self.XPersonalData
    or
    me.XPersonalData.

    That’s because we don’t know the namespace of the model. I’m guessing the question wasn’t copied properly.

    ‘self’ does seem a safer choice though, so I’d go with that answer as well.




    0



    0

Leave a Reply