I have a Custom POCO (Already existing und used in my project).
public class MyPoco()
{
public string MyPocoName {get; set;}
public string MyPocoParentName {get; set;}
}
I have also a stored procedures that returns a list of (MyPocoName,MyPocoParentName) values.
I couldn't set MyPoco as the return type of this procedure in the Function import wizard.
I don't want to create a new custom type that have the same proporties as MyPoco.
Is there any way that could specify the return type of the stored procedure to be MyPoco.
Thanks.