I'm trying to retrieve whole custom table from a stored procedure ( SLClient_ContractPage() ) in (.Net C# Silverlight), but with no success so far;
Using the ORM designer (drag-drop stored procedure, recreated the dbml file)
Created funciton in the DomainService (web project):
public IList<SLClient_ContractPageResult> SP_ContractsData()
Then, from DomainContext (on silverlight project), when I execute the above method and gather the results, the number of it is proper (105 records in my case), but only one record is repeated 105 times!
I debugged the situation, and seen that on the server I have retrieved the all data, but on the client only the first record is repeating itself for as many times as there is data in the server...
Can you tell me what could cause this situation?