What are Delphi / AppMethod BindSourceDB Scope Mappings and how do I use them?

1k views Asked by At

I am using Delphi/AppMethod XE6, and adding a Firemonkey Mobile HD form to a blank project.

On the form, I've dropped a BindSourceDB component and am viewing it in the Structure Window, There, I can see a ScopeMappings child property. I can also see the ScopeMappings property in the Object Inspector Window which shows it's of TScopeMappings type.

For the life of me, I CAN NOT figure out what this property is/does, and what ScopeMappings really are.

All I find from the Embarcadero documentation is the following at this URL: http://docwiki.embarcadero.com/Libraries/XE6/en/Data.Bind.DBScope.TBindSourceDB.ScopeMappings

Data.Bind.DBScope.TBindSourceDB.ScopeMappings

The ScopeMappings property specifies an owned collection whose elements are scope mappings. ScopeMappings are used to add name/value pairs that can be referenced by expressions that reference this source component.

Obviously, this isn't terribly helpful.

I've searched everywhere on the web, including here on SO and can't find anything. Please help.

1

There are 1 answers

0
AudioBubble On

This is the closest documentation I could find.

enter image description here

System.Bindings.CustomScope [http://docwiki.embarcadero.com/Libraries/XE8/en/System.Bindings.CustomScope][2]

System.Bindings.CustomWrapper [http://docwiki.embarcadero.com/Libraries/XE8/en/System.Bindings.CustomWrapper][3]