News

How to: Data Providers

Using Data Providers in Other GX Objects.

As you may already know, the output of a Data Provider is an SDT or BC (that could be later -even immediately- converted to another format such as XML). The only output formats supported are SDT and BC. However, not only a simple SDT or BC can be returned, but also a collection of them.

Using a Data Provider in another GeneXus Objetc is similar to using a Procedure that returns an SDT or BC to the caller.

In this article: 

1) A simple example.
 
2) Consideration when the output is a Business Component.

3) Parameters.

4) How to work when the output is a collection