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

Entity Framework Core - Knowledge Base (KB)

2 results in tag: garbage-collection

Garbage collection for Entity Framework dbcontext c#

just wondering if I dispose my dbcontext object correctly here or should I be using the using block instead?...public class RepoBankAccount : IBankAccount { private AppDbContext db = null; public RepoBankAccount() { this.db = new AppD...
c# entity-framework entity-framework-6 garbage-collection
asked by Steve

Why EF Core 2.2.6 does not garbage collect?

I am using the dotMemoryUnit to prove the my DbContext object is getting garbage collected properly....I feel that this code should work properly in a unit test, but the test always fails. The only thing I can guess is EF Core is holding a reference some...
c# dotmemory entity-framework-core garbage-collection
asked by Mike Therien

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
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!