I have adatabasethat workstwooperatorsandoneoperatordeleteanobject,thesecondrunninginparalleloeratorusesthatobjectinanotherdatabasewithoutrefreshbeforeandthe programcrashes.How do Ihandlethis error.
1 Answer, 1 is accepted
0
PetarP
Telerik team
answered on 15 Jun 2011, 04:13 PM
Hello Neagoe,
The NoSuchObject exception is thrown when you try to access an object that has been deleted or you try to retrieve an object by id that is not yet in the database.
Wouldn't it be possible to catch this exception and notify the interested party that the object they are accessing is no longer there?
Kind regards,
Petar
the Telerik team
Q1’11 SP1 of Telerik OpenAccess is available for download; also available is the Q2'11 Roadmap for Telerik OpenAccess ORM.