Home  /  Questions  /  Question

88   96.5
Mar 12, 2012

Lazy Load in Entity Framework 3.5

Hi ,

      I want to check null control in entity framework which uses 3.5 version.  I have  an example like below.


     Now , I have multiciplity  1 to Many in this situation   it gives error whe Unit table does not have relational record  because it excepts the record if i change mutliciplity 0 to 1  it works well. My Problem is i dont want to change mulitipclity, it become 1 to Many, but i can check Load() method  is null ,if  it is null i do somejob ..

   How can i do?


  Best Regards...