I am using Entity Framework with self-tracking POCO objects. How do I know whether an object has been loaded in the DBContext or not, without making a query... what I want to know is: The object is loaded in memory or not?
All my objects have public virtual int Id {get;set;}
representing the key.
Thanks!