ObjectDesignerManager..::..GetAllViewOnlyRefDependentFieldsAsync Method
Gets Data for all the Types that contains fields with View-Only Relation and with DB Lookup Relation.
Namespace:
ServicePRO.Sdk.Windows.ManagersAssembly: ServicePRO.Sdk.Windows (in ServicePRO.Sdk.Windows.dll)
Syntax
public Task<Tuple<ObservableCollection<stcMetaDataGroupBatch>, ObservableCollection<stcMetaDataFieldBatch>, ObservableCollection<stcMetaDataTableXML>>> GetAllViewOnlyRefDependentFieldsAsync( string userSessionKey, int aAssociatedTblID, string associatedFieldNamesList, ObservableCollection<int> typesFetchedBefore )
Public Function GetAllViewOnlyRefDependentFieldsAsync ( _ userSessionKey As String, _ aAssociatedTblID As Integer, _ associatedFieldNamesList As String, _ typesFetchedBefore As ObservableCollection(Of Integer) _ ) As Task(Of Tuple(Of ObservableCollection(Of stcMetaDataGroupBatch), ObservableCollection(Of stcMetaDataFieldBatch), ObservableCollection(Of stcMetaDataTableXML)))
Parameters
- userSessionKey
- Type: String
User’s Session Key.
Key property of the User Session Object of type stcSession.
The User Session has to be established by making a call to InitializeSystemAndSession() method in CoreServicesManager class as a first step with using ServicePRO SDK.
- aAssociatedTblID
- Type: Int32
Associated table identifier.
- associatedFieldNamesList
- Type: String
Name of a associated field.
- typesFetchedBefore
- Type: ObservableCollection<(Of <(<'Int32>)>)>
Collection of types that were already loaded into UI