DataManagerImpl Methods |
The DataManagerImpl type exposes the following members.
| Name | Description | |
|---|---|---|
| BeginTransaction |
Start transaction.This is followed by database operations.
| |
| CheckDuplicateGid | ||
| CordovaCheckDuplicateGid | ||
| CordovaDelete(DataStructure) | ||
| CordovaDelete(String, String) | ||
| CordovaExecuteDeferredQuery | ||
| CordovaInsert(DataStructure) | ||
| CordovaInsert(String, JObject) | ||
| CordovaInsertOrUpdate |
Insert or Update based on Lid.
| |
| CordovaInsertOrUpdateBasedOnGid |
Insert or Update based on GID fields
| |
| CordovaSelect | ||
| CordovaSelectJson | ||
| CordovaUpdate(DataStructure) | ||
| CordovaUpdate(String, ListString, ListObject, String) | ||
| Count | ||
| CreateIndex | ||
| CreateSavePoint | ||
| CreateTable(Type) |
Create table.
DataManagerImpl appDataManager = ApplicationManager.Instance.GetDatManager();
appDataManager.CreateTable(CUSTOMER_HEADER.GetType());
| |
| CreateTableT | ||
| DeferredQuery | ||
| Delete(DataStructure) |
Delete given DataStructure from table
| |
| Delete(String, String) |
Delete record from table
| |
| DeleteAll(ListDataStructure) |
Delete List of DataStructures
| |
| DeleteAllT | ||
| DeleteAllSync |
Delete List of DataStructures
| |
| DeleteSync(DataStructure) |
Delete given DataStructure from table
| |
| DeleteSync(String, String, String) |
Delete record from table
| |
| EndTransaction |
End transaction.
| |
| Equals | (Inherited from Object.) | |
| ExecuteDeferredQuery |
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
| |
| ExecuteRawQuery |
Use this method instead of Query when you don't expect rows back. Such cases include Insert, Update, and Delete.
| |
| Finalize | (Inherited from Object.) | |
| Get(String, String) |
Execute raw query
| |
| GetT |
Get all records from table of give type
| |
| GetT(String) |
Get all records from table of give type
| |
| GetByName | ||
| GetChildren(String, DataStructure) |
Get children of given Header structures.
Name of item structure to be fetchedParent header structure Return ValueType:Enumerable of object. | |
| GetChildren(String, String, DataStructure) |
Get children of given Header structures with given where clause.
Name of item structure to be fetchedParent header structure Return ValueType:Enumerable of object. | |
| GetChildrenSync |
Get children of given Header structures.
Name of item structure to be fetchedParent header structure Return ValueType:Enumerable of object. | |
| GetCollectionT |
Get DataStructure collection.
| |
| GetHashCode | (Inherited from Object.) | |
| GetRawDeferredQueryT |
Execute raw query
| |
| GetRawDeferredQuerySyncT |
Execute raw query
| |
| GetSyncT |
Get all records from table of give type
| |
| GetType | (Inherited from Object.) | |
| InsertT |
Inserts DataStructure object
| |
| InsertAll | ||
| InsertOrUpdateT |
Insert structure if dose not exists or update structure if exists based on Lid
| |
| InsertOrUpdateBasedOnGidT |
Insert structure if dose not exists or update structure if exists based on GID
| |
| MemberwiseClone | (Inherited from Object.) | |
| ReleaseSavePoint | ||
| RollBackToSavePoint |
Roll back to given save point
| |
| Roolback | ||
| RunInTransaction |
Execute multiple SQL statement in single transaction
| |
| ToString | (Inherited from Object.) | |
| Update(Object, String) | ||
| UpdateT(T) |
Update the existing structure. Structure should have at least one PK
|