[This is preliminary documentation and is subject to change.]
The IBank type exposes the following members.Methods
| Name | Description | |
|---|---|---|
| GenerateReplicationVersionInfo |
Generates version replication information for the parcel instance which is being sealed
| |
| GetDescription |
Returns database description for the specific culture.
This method is needed because end users may need to see the description of the database instance in their native language
| |
| Load(Type, GDID, Object, DataVeracity, DataCaching, Nullable Int32 , ISession) |
Loads parcel by fetching it from the bank backened by its primary id
| |
| Load T (GDID, Object, DataVeracity, DataCaching, Nullable Int32 , ISession) |
Loads parcel by fetching it from the bank backened by its primary id
| |
| LoadAsync(Type, GDID, Object, DataVeracity, DataCaching, Nullable Int32 , ISession) |
Async version: Loads parcel by fetching it from the bank backened by its primary id
| |
| LoadAsync T (GDID, Object, DataVeracity, DataCaching, Nullable Int32 , ISession) |
Async version: Loads parcel by fetching it from the bank backened by its primary id
| |
| ObjectToShardingID |
Returns ULONG for an object so any object (i.e. a string) may be used as a sharding key.
Suppose a string needs to be used for sharding, this method translates a string into a 64 bit hash expressed as ulong
| |
| Query |
Loads result object by executing a query command in the bank backend fetching necessary parcels/records/documents and aggregating the result.
The query may return parcel/s that can be modified and saved back into the store
| |
| QueryAsync |
Async version: Loads result object by executing a query command in the bank backend fetching necessary parcels/records/documents and aggregating the result.
The query may return parcel/s that can be modified and saved back into the store
| |
| Remove(Type, GDID, Object, ISession) |
Removes the parcel from the bank returning true if parcel was found and removed
| |
| Remove T (GDID, Object, ISession) |
Removes the parcel from the bank returning true if parcel was found and removed
| |
| RemoveAsync(Type, GDID, Object, ISession) |
Async version: Removes the parcel from the bank returning true if parcel was found and removed
| |
| RemoveAsync T (GDID, Object, ISession) |
Async version: Removes the parcel from the bank returning true if parcel was found and removed
| |
| Save |
Saves/sends the parcel into this bank
| |
| SaveAsync |
Async version: Saves/sends the parcel into this bank
|
Properties
| Name | Description | |
|---|---|---|
| Areas |
Returns registry of named bank schema area instances
| |
| DataStore |
References data store that this data bank is a part of
| |
| Description |
Returns database description
| |
| IDGenerator |
Returns sequence provider that generates unique identifiers in the store
| |
| Name | (Inherited from INamed.) | |
| Schema |
Returns the schema that this bank implements
|
See Also