I am currently trying to delete a car from my Db but i keep getting a
object not attached error can anyone help?
CarDetail thisCar = new CarDetail ();
thisCar .Make= makeID;
thisCar .Year= year;
thisCar .Model= model;
this car has the correct information in at this point.
try
{
DbCall.CarDetail.DeleteOnSubmit(thisCar );//still has the correct
info but falls over
DbCall.SubmitChanges();
}
catch(Exception e)
{
messagebox.show(e)
}
The only piece of infomation that i think may be causing the issue is
something to do with the property changed is equal to null, Any ideas
are hugely appreciated
--
You received this message because you are subscribed to the Google Groups
"DbLinq" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/dblinq?hl=en.