Appeon simply renamed property Object => DwMeta to avoid name class with System.Object.
Docs are still work in progress since we are still in beta phase. However, possible to use F12-Go to Definition to inspect APIs. I first downloaded the updated example:
SnapDevelop > Start Page > Sample Projects > .NET DataStore Example
(or: directly GitHub project)
I downloaded, unzipped, and open the sample solution. When I double-click my VS 2019 opens but same procedure applies in SnapDevelop.
- Solution Explorer > Services > Impl > open PersonService.cs
- Start of function SavePerson (starts line 34)
public int SavePerson(IDataStore person, IDataStore addresses,
IDataStore phones, IDataStore customers)
{
// INSERT next 2 lines
phones.Object
phones.DwMeta
- Check definitions using F12
- Select Object + F12 => Object implements IDwMeta
- Select DwMeta + F12 => DwMeta implements IDwMeta
- Optional: Select IDwMeta and F12 to inspect details
- CONCLUSION: DwMeta simply renames Object to avoid name class with System.Object.
When using PowerBuilder.Data (released with SnapDevelop 2019), we can access all DataWindow object properties parsed from .srd files through IDataStore.Object, including UI-related properties, such as x, y, etc. Similar to DataWindow object properties in PB.
Since DWNet.Data version 2.0.0-beta2, only data-related properties can be accessed through IDataStore.DwMeta (default values are from models generated from DataWindow object by DataWindow Converter).
Regards, Logan