Memo Database Open & Close API
[Data Model API's]


Functions

alp_status_t alp_memo_dml_close (AlpDmlH dmlH)
alp_status_t alp_memo_dml_open (AlpDmlH *dmlH, bool changeTrackingOn)


Function Documentation

alp_status_t alp_memo_dml_close AlpDmlH  dmlH  ) 
 

Closes a handle to the Memo Data Model that was opened using the alp_memo_dml_open().

If the AlpDmlH parameter is invalid, an ALP_STATUS_MEMO_DML_INVALID_PARAMETER is returned.

Parameters:
[in] dmlH AlpDmlH handle to the Memo data model
Returns:
alp_status_t
See also:
alp_memo_dml_open

alp_status_t alp_memo_dml_open AlpDmlH dmlH,
bool  changeTrackingOn
 

Opens and returns handle or handles to the Memo Data Model and Data Stores. Caller should call alp_memo_dml_close() when finished with it. Holding a handle open does not tie up the data model or hold down any important resources, however it is important to note that it is not possible for one datamodel user to perform a write while another reads; or one to read while another writes, so it is desirable for datamodel users to make these operations interruptable or as short as possible.

If the AlpDmlH parameter is invalid, an ALP_STATUS_MEMO_DML_INVALID_PARAMETER is returned.

Parameters:
[in/out] dmlH AlpDmlH handle that will be created and assigned to this parameter on successful opening of the Memo Data Model. If changeTrackingOn is true, the change manager handles to all the datastores registered will also be stored for use with alp_memo_dml_insert(), alp_memo_dml_update(), alp_memo_dml_delete() calls.
[in] changeTrackingOn bool value to determine whether change tracking will be enable or not during the dml transaction.
Returns:
alp_status_t
See also:
alp_memo_dml_close


Generated on Wed Jul 30 07:06:41 2008 by Doxygen 1.4.6 for ALP SDK + Hiker Documentation

Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.