Setup the delegate methods for data communications
Namespace: Cartella.InterfacesAssembly: CartellaData (in CartellaData.dll) Version: 4.1.0.171 (4.1.0.171)
Syntax
C# |
---|
void SetupDelegates( FullRecordRetrievalProcedure _fullRecGetProc, UpdateProcedure _updateProc, InsertProcedure _insertProc, Dictionary<string, SelectRelationsProcedure> _selectRelProcs, Dictionary<string, SelectPagedRelationsProcedure> _selectPagedRelProcs, Dictionary<string, SelectPositionedRelationsProcedure> _selectPosRelProcs ) |
Visual Basic |
---|
Sub SetupDelegates ( _ _fullRecGetProc As FullRecordRetrievalProcedure, _ _updateProc As UpdateProcedure, _ _insertProc As InsertProcedure, _ _selectRelProcs As Dictionary(Of String, SelectRelationsProcedure), _ _selectPagedRelProcs As Dictionary(Of String, SelectPagedRelationsProcedure), _ _selectPosRelProcs As Dictionary(Of String, SelectPositionedRelationsProcedure) _ ) |
Visual C++ |
---|
void SetupDelegates( FullRecordRetrievalProcedure^ _fullRecGetProc, UpdateProcedure^ _updateProc, InsertProcedure^ _insertProc, Dictionary<String^, SelectRelationsProcedure^>^ _selectRelProcs, Dictionary<String^, SelectPagedRelationsProcedure^>^ _selectPagedRelProcs, Dictionary<String^, SelectPositionedRelationsProcedure^>^ _selectPosRelProcs ) |
Parameters
- _fullRecGetProc
- Type: FullRecordRetrievalProcedure
Full Record Retrieval method delegate
- _updateProc
- Type: UpdateProcedure
Update method delegate
- _insertProc
- Type: InsertProcedure
- _selectRelProcs
- Type: System.Collections.Generic..::..Dictionary<(Of <(<'String, SelectRelationsProcedure>)>)>
Dictionary of select relations delegates
- _selectPagedRelProcs
- Type: System.Collections.Generic..::..Dictionary<(Of <(<'String, SelectPagedRelationsProcedure>)>)>
- _selectPosRelProcs
- Type: System.Collections.Generic..::..Dictionary<(Of <(<'String, SelectPositionedRelationsProcedure>)>)>
Dictionary of select positioned relations delegates
Remarks
All database communication means in Cartella space is done via delegates. This way the object themselves don't
need to know the database communication system at all, thus allow plugin base database engines.