Closed GoogleCodeExporter closed 9 years ago
Where you able to step through this and debug this?
Original comment by bniemyjski
on 28 Sep 2010 at 10:52
Btw when i tryed EntityDataSource with the type of VwSomeViewData and its
provider i got the data requested.
But when i use the VwSomeViewDataSource it gets into
BaseDataSource
private IList<Entity> GetCachedData(IDictionary values, out int count)
and calls
entityList = GetSelectData(values, out count);
and ends up in
protected virtual IList<Entity> GetSelectData(IDictionary values, out int count)
{
count = 0;
return null;
}
and not the correct one (I think it should go into ReadOnlyDataSource that
calls the right provider?)
Original comment by dpeha...@gmail.com
on 28 Sep 2010 at 11:59
If you apply the following patch does this resolve the issues for you?
http://code.google.com/p/nettiers/issues/detail?id=333
Original comment by bniemyjski
on 5 Oct 2010 at 10:33
[deleted comment]
[deleted comment]
I can confirm this.. an override method is missing in ReadOnlyDataSource..
Please see http://community.codesmithtools.com/nettiers/f/16/t/11573.aspx
This change can be made to the WebLiberary\Data\BaseDataSource.cst
@@ -1429,8 +1429,7 @@
/// additional data retrieval functionality.</remarks>
protected virtual IList<Entity> GetSelectData(IDictionary values, out int count)
{
- count = 0;
- return null;
+ return GetSelectData(out count);
}
/// <summary>
or suitable override methods need to be added to ReadOnlyDataSource and
CustomDataSource
Original comment by vaibhavk...@gmail.com
on 30 Nov 2010 at 8:51
Hello,
This has been fixed in revision 858 of the templates. This can be downloaded
here (http://community.codesmithtools.com/nightly/NetTiers/).
Thanks
-Blake Niemyjski
Original comment by bniemyjski
on 30 Nov 2010 at 10:51
Original comment by bniemyjski
on 7 Jan 2011 at 2:44
Original issue reported on code.google.com by
dpeha...@gmail.com
on 28 Sep 2010 at 9:09