EF Stored Procedure Complex Type

Posted by Web Dev on Stack Overflow See other posts from Stack Overflow or by Web Dev
Published on 2012-10-08T21:36:18Z Indexed on 2012/10/08 21:36 UTC
Read the original article Hit count: 142

Filed under:

I am using EF4.

I am somewhat confused on on the Entity Framework Complex name. When I go to Functional Import of a Stored Procedure name and it ask me to type in the Complex name, is that supposed to be the name of of a class that can handle that output.

For examle, say if my stored procedure returns FirstName, LastName. Is the Complex name supposed to be a class that can handle that output in this case PersonName?

    public class PersonName
    {
      public string FirstName {get; set;}
      public string LastName {get;set}
    }

© Stack Overflow or respective owner

Related posts about entity-framework-4