This is a migrated thread and some comments may be shown as answers.

Problem with method GwtAll()

1 Answer 40 Views
Development (API, general questions)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Pavel
Top achievements
Rank 1
Pavel asked on 17 Jul 2013, 08:31 AM
Hello,
I have filed table, but when I call GetAll() I get exception 'There was no items added to the collection.' In what could be the problem?
Service type: ASP.NET Web API Service

1 Answer, 1 is accepted

Sort by
0
Viktor Zhivkov
Telerik team
answered on 17 Jul 2013, 04:40 PM
Hi Pavel,

Can you give us more details about the way you are using your code?
Are you calling the generated Web API GetAll() method from HTML site, C# code or anything else?
Are you using .First()/.Single() or .Last() LINQ methods after the call to GetAll() in order to get the exception?
Please post some code snippets that will give us more insight.

Regards,
Viktor Zhivkov
Telerik
OpenAccess ORM Q2 2013 brings you a more powerful code generation and a unique Bulk Operations support with LINQ syntax. Check out the list of new functionality and improvements shipped with this release.
Tags
Development (API, general questions)
Asked by
Pavel
Top achievements
Rank 1
Answers by
Viktor Zhivkov
Telerik team
Share this question
or