Click or drag to resize

CLTBContract Method

Contract the contents of two same-key and same-fields tables.

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public CLTB Contract(
	CLTB lt_bc
)

public CLTB Contract(
	CLTB lt_bc
)

Parameters

lt_bc
Type: GeoEngine.Core.GXNetXCLTB
Contract LTB

Return Value

Type: CLTB
x - Handle to LTB object NULL - Error of some kind
Remarks
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.
See Also