EF Stored Procedure Complex Type
- by Web Dev
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}
}