Click or drag to resize

DataManagerImpl Methods

The DataManagerImpl type exposes the following members.

Methods
  NameDescription
Public methodBeginTransaction
Start transaction.This is followed by database operations.
Public methodCheckDuplicateGid
Public methodCordovaCheckDuplicateGid
Public methodCordovaDelete(DataStructure)
Public methodCordovaDelete(String, String)
Public methodCordovaExecuteDeferredQuery
Public methodCordovaInsert(DataStructure)
Public methodCordovaInsert(String, JObject)
Public methodCordovaInsertOrUpdate
Insert or Update based on Lid.
Public methodCordovaInsertOrUpdateBasedOnGid
Insert or Update based on GID fields
Public methodCordovaSelect
Public methodCordovaSelectJson
Public methodCordovaUpdate(DataStructure)
Public methodCordovaUpdate(String, ListString, ListObject, String)
Public methodCount
Public methodCreateIndex
Public methodCreateSavePoint
Public methodCode exampleCreateTable(Type)
Create table.
Examples
DataManagerImpl appDataManager = ApplicationManager.Instance.GetDatManager(); appDataManager.CreateTable(CUSTOMER_HEADER.GetType());
Public methodCreateTableT
Public methodDeferredQuery
Public methodDelete(DataStructure)
Delete given DataStructure from table
Public methodDelete(String, String)
Delete record from table
Public methodDeleteAll(ListDataStructure)
Delete List of DataStructures
Public methodDeleteAllT
Public methodDeleteAllSync
Delete List of DataStructures
Public methodDeleteSync(DataStructure)
Delete given DataStructure from table
Public methodDeleteSync(String, String, String)
Delete record from table
Public methodEndTransaction
End transaction.
Public methodEquals (Inherited from Object.)
Public methodExecuteDeferredQuery
Execute raw query to select records from given table. It returns each row of the result using the mapping automatically generated for the given type. Note: For join query column name should be unique across joined tables
Public methodExecuteRawQuery
Use this method instead of Query when you don't expect rows back. Such cases include Insert, Update, and Delete.
Protected methodFinalize (Inherited from Object.)
Public methodGet(String, String)
Execute raw query
Public methodGetT
Get all records from table of give type
Public methodGetT(String)
Get all records from table of give type
Public methodGetByName
Public methodGetChildren(String, DataStructure)
Get children of given Header structures. Name of item structure to be fetchedParent header structure

Return Value

Type: 
Enumerable of object.
Public methodGetChildren(String, String, DataStructure)
Get children of given Header structures with given where clause. Name of item structure to be fetchedParent header structure

Return Value

Type: 
Enumerable of object.
Public methodGetChildrenSync
Get children of given Header structures. Name of item structure to be fetchedParent header structure

Return Value

Type: 
Enumerable of object.
Public methodGetCollectionT
Get DataStructure collection.
Public methodGetHashCode (Inherited from Object.)
Public methodGetRawDeferredQueryT
Execute raw query
Public methodGetRawDeferredQuerySyncT
Execute raw query
Public methodGetSyncT
Get all records from table of give type
Public methodGetType (Inherited from Object.)
Public methodInsertT
Inserts DataStructure object
Public methodInsertAll
Public methodInsertOrUpdateT
Insert structure if dose not exists or update structure if exists based on Lid
Public methodInsertOrUpdateBasedOnGidT
Insert structure if dose not exists or update structure if exists based on GID
Protected methodMemberwiseClone (Inherited from Object.)
Public methodReleaseSavePoint
Public methodRollBackToSavePoint
Roll back to given save point
Public methodRoolback
Public methodCode exampleRunInTransaction
Execute multiple SQL statement in single transaction
Public methodToString (Inherited from Object.)
Public methodUpdate(Object, String)
Public methodUpdateT(T)
Update the existing structure. Structure should have at least one PK
Top
See Also