Your database includes the following stored procedure:
CREATE PROCEDURE dbo.GetNames
AS
SELECT CustomerID AS ID, RTRIM(LastName) + ', ' + FirstName AS Name
FROM Customers
When you generate an Entity Data Model from the database, you import this stored procedure. You need to modify the model to ensure that a method is added to the ObjectContext. The method must execute the stored procedure and return a type that represents the stored procedure result.
What should you do

 Posted by Rajkatie on 8/28/2012 | Category: ADO.NET Interview questions | Views: 1949 | Points: 40
Select from following answers:
  1. Add a complex type.
  2. Create a function import in the conceptual model
  3. Maps created function import to the stored procedure.
  4. All Above

Show Correct Answer


Source: MeasureUp.Com | | Alert Moderator 

Comments or Responses

Login to post response