objectset Questions

2

I am making DAO unit tests in my project and I have a problem using the ObjectSet class. I have to create a new ObjectSet but in order to do this, I must not connect to the DB. So I can not use the...
Mew asked 2/7, 2011 at 20:50

1

Solved

For some reason I am getting the following error at the db.SaveChanges(); instruction: Cannot insert the value NULL into column 'UserId', table 'XXXXXXXXX_Dev.dbo.Portfolios'; column does not allo...
Kristykristyn asked 7/7, 2011 at 15:23

1

Solved

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using ModelLayer.PocoModels; using System.Data.Objects; namespace ModelLayer { public clas...
Guesswarp asked 24/1, 2011 at 20:54
1

© 2022 - 2024 — McMap. All rights reserved.