How to dermine a newly created record in RIA Services

Using WCF RIA Services, how is it possible to determine if a record is newly created and attached to the domaincontext?

Answers


This was easy: checking the EntityState of the Entity!


Need Your Help

Possible to add "offline profiling" functionality to my application?

c# .net winforms performance profiling

Being a long time user of Red Gate's ANTS Performance Profiler, I'm currently searching for a way to do profiling on non-development machines.

Rails: Simpleform inside of table input type = text_area- how to set its height?

ruby-on-rails ruby forms html-table simple-form

I'm using the "Simpleform" gem for my rails app and I have a form embedded in a table.