Official Content

Indicates if GeneXus must infer the structure of the SDT (Structured Data Type) and create it, by analyzing the structure 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 to True, the structure of the SDT is inferred from the Data Provider structure.
No No SDT is inferred. This is the default value.

Scope

Objects: Data Provider

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.

Runtime/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.

See Also

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

Last update: November 2023 | © GeneXus. All rights reserved. GeneXus Powered by Globant