How to load basic POCO objects

Sep 25, 2014 at 2:45 AM
Hello,

I just started taking a look at Effort and wanted to create a simple POCO object and add it to the context. I'm using this.Set<T>().Add(entity). This attaches the entity to DbSet<T>.Local but I can't access it via DbSet<T> even after calling SaveChanges(). Is there something I'm doing wrong?

Thanks!
Sep 25, 2014 at 2:56 AM
Edited Sep 25, 2014 at 2:57 AM
Never mind. This does work and I was using the debugger incorrectly.

Apologies for wasting your time!