Home

Empty results when querying DBContext connection

Hi all,
I am new to EF CodeFirst, and sorry, my english is far from perfect.
I started a small application with EF 5 and Code first.
I began without connectionString.
All is fine as of the creation and filling of the DB, created on SQLExpress.
I added a nex connection in LinqPad, giving the Dll of my application, referenced EntityFramework.dll with F4 and got my two classes recognized, Test passed OK.
But when I attempt to query either of the sets eg. "Albums.Take(100)" I get " DbQuery (0 items) (In fact, I already have about 30000 !!)
Can you help me ? What did I miss ?
Thanks

Comments

Sign In or Register to comment.