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

how do you use just mock with UpdateAll and Set statement

1 Answer 6 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Veteran
Andrew asked on 04 Dec 2013, 06:44 PM

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?




1 Answer, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 06 Dec 2013, 12:38 PM
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.

Regards,
Kaloyan
Telerik
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.
Tags
General Discussions
Asked by
Andrew
Top achievements
Rank 1
Veteran
Answers by
Kaloyan
Telerik team
Share this question
or