Dear all,
We have a stored procedure that returns three columns (ID Int32, DESCRIPTION String, COUNTRY String).
We have tried to bind it to an entity (manually defined) and we have also created a Function Import via the wizard.
It results in a EntityServerException thrown at:
void res_Completed(object sender, EntityQueriedEventArgs e)
{
e.Results.Cast<MyEntityType>().ForEach(MyList.Add);
}
The exception message is:
Schema specified is not valid. Errors:
Model1.msl(14,6) : error 2062: No mapping specified for instances of the EntitySet and AssociationSet in the EntityContainer TEST_IDEAEntities.
Using complex types it works. Does DevForce support mappint SP to Enities?
Regards,
Paolo