[This is preliminary documentation and is subject to change.]
The ICRUDDataStore type exposes the following members.Methods
| Name | Description | |
|---|---|---|
| BeginTransaction |
Returns a transaction object for backend. Even if backend does not support transactions internally, CRUDTransactions save changes
into the store on commit only
(Inherited from ICRUDTransactionOperations.) | |
| BeginTransactionAsync |
Returns a transaction object for backend. Even if backend does not support transactions internally, CRUDTransactions save changes
into the store on commit only
(Inherited from ICRUDTransactionOperations.) | |
| Delete | (Inherited from ICRUDOperations.) | |
| DeleteAsync | (Inherited from ICRUDOperations.) | |
| ExecuteWithoutFetch | (Inherited from ICRUDOperations.) | |
| ExecuteWithoutFetchAsync | (Inherited from ICRUDOperations.) | |
| GetSchema | (Inherited from ICRUDOperations.) | |
| GetSchemaAsync | (Inherited from ICRUDOperations.) | |
| Insert | (Inherited from ICRUDOperations.) | |
| InsertAsync | (Inherited from ICRUDOperations.) | |
| Load | (Inherited from ICRUDOperations.) | |
| LoadAsync | (Inherited from ICRUDOperations.) | |
| LoadOneRow | (Inherited from ICRUDOperations.) | |
| LoadOneRowAsync | (Inherited from ICRUDOperations.) | |
| LoadOneRowset | (Inherited from ICRUDOperations.) | |
| LoadOneRowsetAsync | (Inherited from ICRUDOperations.) | |
| OpenCursor | (Inherited from ICRUDOperations.) | |
| OpenCursorAsync | (Inherited from ICRUDOperations.) | |
| Save | (Inherited from ICRUDOperations.) | |
| SaveAsync | (Inherited from ICRUDOperations.) | |
| Update | (Inherited from ICRUDOperations.) | |
| UpdateAsync | (Inherited from ICRUDOperations.) | |
| Upsert | (Inherited from ICRUDOperations.) | |
| UpsertAsync | (Inherited from ICRUDOperations.) |
Extension Methods
| Name | Description | |
|---|---|---|
| LoadEnumerable TRow |
Loads rowset with rows cast per Query(T) or empty enum
(Defined by DataUtils.) | |
| LoadEnumerableAsync TRow |
Async version - loads rowset with rows cast per Query(T) or empty enum
(Defined by DataUtils.) | |
| LoadRow TRow |
Loads one row cast per Query(T) or null
(Defined by DataUtils.) | |
| LoadRowAsync TRow |
Async version - loads one row cast per Query(T) or null
(Defined by DataUtils.) |
Properties
| Name | Description | |
|---|---|---|
| QueryResolver |
Reolver that turns query into handler
| |
| ScriptFileSuffix |
Returns default script file suffix, which some providers may use to locate script files
i.e. for MySql: ".my.sql" which gets added to script files like so: name.[suffix].[script ext (i.e. sql)].
This name should uniquely identify the provider
| |
| StoreType |
Provides classification for the underlying store
| |
| SupportsTransactions |
Returns true when backend supports transactions. Even if false returned, CRUDDatastore supports CRUDTransaction return from BeginTransaction()
in which case statements may not be sent to destination until a call to Commit()
(Inherited from ICRUDTransactionOperations.) | |
| SupportsTrueAsynchrony |
Returns true when backend supports true asynchronous operations, such as the ones that do not create extra threads/empty tasks
(Inherited from ICRUDOperations.) |
See Also