![](../icons/Help.png) | CLTBContract Method |
Contract the contents of two same-key and same-fields tables.
Available since Oasis montaj version: 5.1
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetXAssembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
The "Key" of the child must be the same as the "Key" of the Master.
The fields of two LTB must be the same.
Contracting takes place as follows:
1. The Master LTB is copied to the New LTB.
2. All records in the contract LIB are deleted from the New LTB (if there are any)
3. The New LTB is returned.
Syntaxpublic CLTB Contract(
CLTB lt_bc
)
Public Function Contract (
lt_bc As CLTB
) As CLTB
public:
CLTB^ Contract(
CLTB^ lt_bc
)
member Contract :
lt_bc : CLTB -> CLTB
Parameters
- lt_bc
- Type: GeoEngine.Core.GXNetXCLTB
Contract LTB
Return Value
Type:
CLTB
x - Handle to LTB object
NULL - Error of some kind
See Also