Back to list
Views:   5K
Replies:  0

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...

Volkan Genç, Mar 12, 2012
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Cookies       Do Not Sell       Licensing      
Made with    in Austin, Texas.  - vsn 44.0.0
© Data & Object Factory, LLC.