Association Properties Not Populated before 'OnLoaded' called


i have entity association property.

i'm trying hook 'loaded' or 'created' moment in lifecycle attach event handlers associated property.

i've been trying:

  • onloaded
  • oncreated (partial method) 

the problem association property not populated.  corresponding fk property value set, can't seem @ actual associated object during creation.

how can this?  missing something.  have thought 'onloaded' meant complete load of entity.  not so?

thanks!

entity.onloaded called after entity loaded entityset. however, might case related entities (the target of association) haven't been loaded entitysets yet, why you're getting null association. you'll have wait until entire load operation complete before associations can satisfied.



Silverlight  >  WCF RIA Services with Silverlight



Comments

Popular posts from this blog

SQL Server PSProvider SQL Server Authentication

BIT Version

How to calculate the delta size while diffing the files in TeamFoundationServer ?