Exit 70-516 TS: Accessing Data with Microsoft .NET Framework 4
Question 3 of 5
0% complete
Q3 Single choice

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. You use Plain Old CLR objects (POCO) to model your entities.

The application communicates with a Windows Communication Foundation (WCF) Data Services service.

You need to ensure that entities can be sent to the service as XML.

What should you do?

  • A

    Apply the virtual keyword to the entity properties

  • B

    Apply the [Serializable]

  • C

    Apply the [DataContract(lsReference = true)] attribute to the entities

  • D

    Apply the [DataContract(lsReference = false)] attribute to the entities