Infer Structure property

Official Content
This documentation is valid for:
Indicates if GeneXus must infer the structure of the SDT (Structured Data Type) and create it, by analyzing the structured declared in the Data Provider source.

Values

Yes, if SDT is dynamic If the SDT set in the Output property, Dynamic Structure property is set as True, the structure of the SDT is inferred from the Data Provider structure.
No No SDT is inferred. This is the default value.

Description

If you declare a structure manually in the source of a Data Provider object, and you set the Data Provider Infer Structure property to "Yes, if SDT is dynamic", you are indicating that GeneXus must automatically create an SDT with the structure inferred from the Data Provider source.

Also, GeneXus will complete the Data Provider Output property with the name of the new SDT.

Run-time/Design-time

This property applies only at design-time.

Samples

If you define the following in the source of a Data Provider object:

  Customer
  {
      CustomerId = ...
      CustomerName = ...
      CustomerBirthDate = ...
  }

and you set the Infer Structure property as 'Yes, if SDT is dynamic':

DataProviderInferredProperties

the following SDT will be automatically created:

DataProviderInfferedSDT

Note that the Data Provider Output property is automatically set with the name of the created SDT. Also, every time that the Data Provider is saved, the SDT structure will be inferred by the specifier.

Scope

Objects: Data Provider

See Also

HowTo: Using the Infer Structure property of a Data Provider
Structured Data Type

Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.