Link to home
Start Free TrialLog in
Avatar of weimha
weimhaFlag for United States of America

asked on

Adding Self-Tracking Entity template cause complie error "Collection was modified" in unit test proejct

I've added an Entity Data Model to my project and added a table to it.  My project and unit test project compiles fine.

Then when I try to add a Self Tracking Entity Template my project compiles but my unit test project gives the following error when compiling:

"Colleciton was modified; enumeration may not execute".

Does anyone know why this error is occuring?
ASKER CERTIFIED SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of weimha

ASKER

We decided not to do self-tracking entities because it was requiring to much work.
Avatar of weimha

ASKER

A solution was not found, but it is not needed.