ObjectDesignerManager..::..GetDBLookUpDataSet Method
Gets the database look up data before add field and relation.
Namespace:
ServicePRO.Sdk.Windows.ManagersAssembly: ServicePRO.Sdk.Windows (in ServicePRO.Sdk.Windows.dll)
Syntax
public void GetDBLookUpDataSet( string userSessionKey, string fieldIdentifier, int associateTblId, string associatedFieldName, stcSearchFieldPass applyFilterSearchPass, stcMetaDataRelation aRelation, int aSelectedItemId, clsEnumeration..::..hsmdObject objectType, List<int> lookupFRXValidChoices, Action<int, ObservableCollection<stcListItem>, string, stcListItem, clsEnumeration..::..hsmdObject, bool, Exception> callbackAction )
Public Sub GetDBLookUpDataSet ( _ userSessionKey As String, _ fieldIdentifier As String, _ associateTblId As Integer, _ associatedFieldName As String, _ applyFilterSearchPass As stcSearchFieldPass, _ aRelation As stcMetaDataRelation, _ aSelectedItemId As Integer, _ objectType As clsEnumeration..::..hsmdObject, _ lookupFRXValidChoices As List(Of Integer), _ callbackAction As Action(Of Integer, ObservableCollection(Of stcListItem), String, stcListItem, clsEnumeration..::..hsmdObject, Boolean, 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.
- fieldIdentifier
- Type: String
The field identifier.
- associateTblId
- Type: Int32
The associated table identifier.
- associatedFieldName
- Type: String
Name of the associated field.
- applyFilterSearchPass
- Type: HelpSTAR.PCL.Common..::..stcSearchFieldPass
The search filter.
- aRelation
- Type: HelpSTAR.PCL.Common..::..stcMetaDataRelation
Relation data.
- aSelectedItemId
- Type: Int32
A selected item identifier.
- objectType
- Type: HelpSTAR.PCL.Common..::..clsEnumeration..::..hsmdObject
The HelpSTAR object type.
- callbackAction
- Type: Action<(Of <(<'Int32, ObservableCollection<(Of <(<'stcListItem>)>)>, String, stcListItem, clsEnumeration..::..hsmdObject, Boolean, Exception>)>)>
The callback action.(contains result collections if success.)