You are implementing an N-tier application that will include a Windows Communication Foundation (WCF) service and a WPF client. The WCF service will access data using Entity Framework. You add an Entity Data Model (EDM) to a class library project named STESchoolModel. You configure the ADO.NET Self-Tracking Entity Generator Template to generate self-tracking entities. You need to enable the client to reference the self-tracking entity types without having access to the related ObjectContext class.
What should you do?

 Posted by Rajkatie on 8/29/2012 | Category: ADO.NET Interview questions | Views: 1314 | Points: 40
Select from following answers:
  1. Create a class library project named STESchoolModelTypes that links to the self-tracking entity types template that is created in the STESchoolModel project. Configure the client to reference this project.
  2. Create a class library project named STESchoolModelTypes. Move the self-tracking entity types template that is created in the STESchoolModel project to this project. Configure the client to reference this project.
  3. Configure the client to reference the STESchoolModel project. Mark the ObjectContext-derived class as protected internal.
  4. All Above

Show Correct Answer


Source: MeasureUp.Com | | Alert Moderator 

Comments or Responses

Login to post response