Maybe this is not the right place to ask this question, but I spent last hour (or more) trying to find answer on this (Telerik ORM) forum with no success and this thread is closest to my needs :) so here it is:
Is there any property and/or function which can tell me if object is 'transient'?
As far as I am concerned I resolved this in not so beautiful way with try-catch
catch (InvalidOperationException ex)
From code above U can see that I had problems with deleting 'transient' objects and I would like to remove that ugly :) try-catch from my code and make it more desirable :)