none
Row is not loaded when association key is NULL RRS feed

  • Question

  • Hi I have two tables: Group and Person

    I have association between tables: Group.PersonID -> Person.ID

    The property PersonID is NULL with some rows in table Group.

    If I use DataLoadOptions:

    DataLoadOptions

     

    lo = new DataLoadOptions();

    lo.LoadWith<Group

     

    >(g=>g.Person);

     

    dbr.LoadOptions = lo;

    All the rows in table Group are not showed where association key (PersonID) is NULL or empty string. But I need all the rows to show. In WPF DataGrid Im trying to show some columns from table Group and some rows from table Person
    Please advice..

    Tuesday, February 9, 2010 1:25 PM