my dto object is not being saved in the da
i am working on a Silverlight project and i'm using MVVM and Wcf ria services. because of the headache posed by foreign keys whose description must be displyed in grids on UI, i had to resort to using dtos that do the work of joining queries from different tables and returning the descriptions.
now the problem is tha when i want to save and i use context.attach(entity) after editing, the error message comes up saying an object with this identity already exists. i tried detaching before attaching and its still same thing no changes.
can sombody help me out? thanks in advance.
Mobile: +234 706 042 6036
“To be yourself in a world that is constantly trying to make you something else is the greatest accomplishment.”
—Ralph Waldo Emerson
By kylemcna in forum ASP.NET
Last Post: 02-22-2005, 09:12 PM
Last Post: 10-24-2002, 06:33 AM
By JULDUZ in forum ASP.NET
Last Post: 08-29-2002, 09:40 AM
By Jaco de Villiers in forum XML
Last Post: 06-01-2001, 05:50 PM
By Richard Dalton . in forum Architecture and Design
Last Post: 12-29-2000, 12:41 AM
Tags for this Thread
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center