ASYNC CALL RESULTS

1 posts, 0 answers
  1. jay
    jay avatar
    39 posts
    Member since:
    Jun 2010

    Posted 08 Jan 2011 Link to this post

    Hi,
    Can someone please help me out with this?

    Why does my e.result from an async call's complete event return the correct number of rows BUT each row is a duplicate of the last record?

    I have something like this:

      void _Model_GetMasterListComplete(object sender, EntityResultsArgs<CustomType> e)
      {

      }

     

    the IQueryable my _Model_GetMasterListAsync() calls will correctly return something like this:

    COL A     COL B     COL C
    1                 2             3
    2                 3             4
    3                 4             5

     

    But e.Result will be:

    COL A     COL B     COL C
    3                 4             5
    3                 4             5
    3                 4             5


    thanks

Back to Top