¡@

Home 

c# Programming Glossary: newfoo

Entity framework, problems updating related objects

http://stackoverflow.com/questions/13236116/entity-framework-problems-updating-related-objects

has been changed and is different between my DB and the newFoo it does not get updated. public Foo Edit Foo newFoo var dbFoo.. the newFoo it does not get updated. public Foo Edit Foo newFoo var dbFoo context.Foo .Include x x.SubFoo .Include x x.AnotherSubFoo.. x x.SubFoo .Include x x.AnotherSubFoo .Single c c.Id newFoo.Id var entry context.Entry Foo dbFoo entry.OriginalValues.SetValues..