You are implementing an application that uses Entity Framework. The application database includes the following stored procedure:
CREATE PROCEDURE [dbo].[DeletePersonByID]
DELETE FROM Person WHERE PersonID = @PersonID;
You add a Function element to the storage model that references this stored procedure. You need to complete the Entity Data Model configuration to ensure that this stored procedure is called to delete a Person entity.
What should you do?

 Posted by Rajkatie on 8/28/2012 | Category: ADO.NET Interview questions | Views: 1010 | Points: 40
Select from following answers:
  1. Add a ModificationFunctionMapping element in the EntityTypeMapping element for the entity type.
  2. Add a ModificationFunctionMapping element in the AssociationSetMapping element.
  3. Add a FunctionImport element to the conceptual model.
  4. All Above

Show Correct Answer

Source: MeasureUp.Com | | Alert Moderator 

Comments or Responses

Login to post response