zzz projects Entity Framework 6 EF 6
Home EF Core Articles Knowledge Base Online Examples
  • Home
  • EF Core
  • Articles
  • Knowledge Base
  • Online Examples

Entity Framework 6 - Knowledge Base (KB)

4 results in tag: task-parallel-library

Thread safe Entity Framework 6

Just starting testing EF6 and its Async functions. Boy was I surprised when I realized that they are not thread safe. I kinda assumed that that was the point....I had my own ...Task... based extension methods for years already, but what I was waiting for ...
entity-framework entity-framework-6 multithreading task-parallel-library
asked by Rabbi

Why isn't SaveChangesAsync actually saving all of my changes?

I think I may be missing something in my understanding of how this is supposed to work. I have some code that imports a file. It loops through each record, does some processing, then adds that record to a table via a ...DbContext... instance....I initiali...
.net async-await c# entity-framework-6 task-parallel-library
asked by Paul Mrozowski

Will Entity Framework 6 function normally within Task.Run() statements?

My question is simple, if I perform a read or write within a Task.Run in order to make my method asynchronous, will it work as a normal bit of code would, or is there something within EF that bans this practice?...For example:...await Task.Run(() => { ...
c# entity-framework-6 task-parallel-library
asked by NibblyPig

Lock DbContext for operation completion in EF6

I have some code in my business logic layer which consume some repositories which in turn use a DbContext (in the data layer). Most of the code is async. At some point in my business logic, I call several async method of the repositories at once (...Task....
entity-framework-6 task-parallel-library
asked by Serge Intern

Page 1 of 1
  • 1

Prime Library

Performance

  • Entity Framework Extensions
  • Entity Framework Classic
  • Bulk Operations
  • Dapper Plus

Expression Evaluator

  • C# Eval Expression
  • SQL Eval Function
More Projects...

Related

  • EF Extensions Online Benchmark
  • WIN an EF Extensions license
  • EF6 BatchSaveChanges for only $79
Save your entities 20× faster with EF Extensions
SaveChanges vs BulkSaveChanges

EF Extensions
Try for free now
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!