ServicePRO SDK Help

ObjectDesignerManager..::..GetAllViewOnlyRefDependentFields Method

Gets Data for all the Types that contains fields with View-Only Relation and with DB Lookup Relation.

Namespace:  ServicePRO.Sdk.Windows.Managers
Assembly:  ServicePRO.Sdk.Windows (in ServicePRO.Sdk.Windows.dll)

Syntax


public void GetAllViewOnlyRefDependentFields(
	string userSessionKey,
	int aAssociatedTblID,
	string aAssociatedFieldName,
	ObservableCollection<int> typesFetchedBefore,
	Action<ObservableCollection<stcMetaDataFieldBatch>, ObservableCollection<stcMetaDataTableXML>, ObservableCollection<stcMetaDataGroupBatch>, Exception> callbackAction
)
Public Sub GetAllViewOnlyRefDependentFields ( _
	userSessionKey As String, _
	aAssociatedTblID As Integer, _
	aAssociatedFieldName As String, _
	typesFetchedBefore As ObservableCollection(Of Integer), _
	callbackAction As Action(Of ObservableCollection(Of stcMetaDataFieldBatch), ObservableCollection(Of stcMetaDataTableXML), ObservableCollection(Of stcMetaDataGroupBatch), Exception) _
)

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.
aAssociatedFieldName
Type: String
Name of a associated field.
typesFetchedBefore
Type: ObservableCollection<(Of <(<'Int32>)>)>
Collection of types that were already loaded into UI
callbackAction
Type: Action<(Of <(<'ObservableCollection<(Of <(<'stcMetaDataFieldBatch>)>)>, ObservableCollection<(Of <(<'stcMetaDataTableXML>)>)>, ObservableCollection<(Of <(<'stcMetaDataGroupBatch>)>)>, Exception>)>)>
The callback action.(contains result collections if success.)