How to implement lazy load feature with dot connect?

How to implement lazy load feature with dot connect?

Postby hom_rcp » Mon 11 Jun 2012 09:47

I'm using Devart - Dot Connect for Oracle. I'd like to implement lazy load feature in a Data Grid View. The records are retrieved from an Oracle procedure - refCursor, which returns a DataReader.

I wonder if you could help me with the standard way to implement this feature in Devart tools.

Regards,
Homam.
hom_rcp
 
Posts: 10
Joined: Sun 13 Feb 2011 12:06
Location: SY

Re: How to implement lazy load feature with dot connect?

Postby Shalex » Thu 14 Jun 2012 08:21

Please refer to http://www.devart.com/dotconnect/oracle/docs/?SqlDataSource.html. The automatic data paging mode is applicable to CommandType=Text queries only. But you can find an example of manual data paging for the CommandType=StoredProcedure case in this article.
Shalex
Devart Team
 
Posts: 7460
Joined: Thu 14 Aug 2008 12:44

Re: How to implement lazy load feature with dot connect?

Postby hom_rcp » Tue 26 Jun 2012 13:34

Thanks for the reply but my application is WPF xBap application so, I cannot use SQLDataSource.
hom_rcp
 
Posts: 10
Joined: Sun 13 Feb 2011 12:06
Location: SY

Re: How to implement lazy load feature with dot connect?

Postby Shalex » Mon 02 Jul 2012 14:05

dotConnect for Oracle doesn't include any WPF components. You can use our provider as other standard ADO.NET providers in WPF application. Maybe, this resource will help you: http://social.msdn.microsoft.com/Forums/en-AU/wpf/thread/3d476aa3-b2e9-4f40-ad21-b903b470cb2a.
Shalex
Devart Team
 
Posts: 7460
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for Oracle