English|Português|Español
UserPasswordLogin

HOME
SESSIONS
INFO
data 112

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

Related
How to: Expression Data Type
How To: Examples of Data Providers with Conditions
How to: Query Object
How to: Migrate your KB to GeneXus X
How to: Transform the pattern templates into dll and make them available to the client
How to: Workflow
How to: GXflow in GeneXus X Evolution 1
How to: GXflow
How To: GXportal 5.0 Image Gallery
Special Edition #GeneXusTheBestOf2014 :: Cloud Computing, the Internet of Things, GeneXus X Evolution 3, Success Stories, Smart Devices and ... Much More!
Release of U2 of GeneXus Evolution 3
Chopo Mobile introduces successful app in Mexico, developed with GeneXus and used for medical studies
GeneXus™ ERP Explorer and Connector for SAP® ERP Now Live on SAP Store
We have a new Download Center! The GeneXus download center has an enhanced appearance at its new location
Demand for Apple TV apps expected to double in 2016