Problem with method GwtAll()

2 posts, 0 answers
  1. Pavel
    Pavel avatar
    1 posts
    Member since:
    May 2013

    Posted 17 Jul 2013 Link to this post

    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
  2. Viktor Zhivkov
    Admin
    Viktor Zhivkov avatar
    291 posts

    Posted 17 Jul 2013 Link to this post

    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.
  3. DevCraft banner
Back to Top