how do you use just mock with UpdateAll and Set statement

2 posts, 0 answers
  1. Andrew
    Andrew avatar
    124 posts
    Member since:
    Sep 2008

    Posted 04 Dec 2013 Link to this post

    I have tried to use Just Mock with link expression that uses Update All and a Set statement but I keep getting the following error:

    Source instance must be an OpenAccess LINQ expression, not an 'System.Linq.EnumerableQuery`1[[IveyCore.Member.MemberLogin, IveyCore, Version=2013.7.18.1916, Culture=neutral, PublicKeyToken=null]]'.

    are there any examples of doing this?

  2. Kaloyan
    Kaloyan avatar
    871 posts

    Posted 06 Dec 2013 Link to this post

    Hi Andrew,

    Thank you for contacting us.

    Can you provide an example of the expression you are trying to mock? It will help me find the correct arrangement a lot faster.

    Thank you in advance.

    Share what you think about JustTrace & JustMock with us, so we can become even better! You can use the built-in feedback tool inside JustTrace, our forums, or our JustTrace or JustMock portals.
  3. DevCraft R3 2016 release webinar banner
Back to Top