SafeDataRowReader (Solution to load GrandChild)

SafeDataRowReader (Solution to load GrandChild)

Old forum URL: forums.lhotka.net/forums/t/2588.aspx


JoOfMetL posted on Monday, March 26, 2007


Hello,

I think that there is an error in the SafeDataRowReader class

Line : 778

I have replaced:

int tableIndex = _table.DataSet.Tables.IndexOf (_table) + 1;

By

int tableIndex = _table.DataSet.Tables.IndexOf (_table) + 1 + _table.ChildRelations.Count;

Copyright (c) Marimer LLC