Quantcast
Channel: URF - Unit of Work & (extensible/generic) Repositories Framework
Viewing all articles
Browse latest Browse all 1539

New Post: ICollectionView throw Entity Framework Attach exception

$
0
0
same thing as 'Daniloloko' did above.

"The Repository.cs has a internal IQueryable<TEntity> Select(.... I added the AsNoTracking() on this line: _IQueryable<TEntity> query = dbSet.AsNoTracking(); "

...mind u I am using your architecture (nice) successfully in 2-3 other projects, but then i upgraded to EF 6.1.1 due to another issues.
but i don't see how that matters for this issue.

I am using .NET 4.5.1
  • could it be that I am using EF 6.1.1 ?
  • should I be using a different EF version ?
  • should I upgrade to your latest version i.e. 3.3.2 ?
...I might sleep better tonight if I get a solution :-)

Viewing all articles
Browse latest Browse all 1539

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>