Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Entity Framework: ObjectSet.AddObject not adding the entity?
- MyEntity entity = null;
- entity = MyEntity.CreateMyEntity(0);
- context.MyEntities.AddObject(entity);
- context.AcceptAllChanges();
- context.SaveChanges();
Add Comment
Please, Sign In to add comment