IUserWriteSession Methods |
The IUserWriteSession type exposes the following members.
Name | Description | |
---|---|---|
AddT |
Adds a new object to the content store. Objects are saved to the content store upon session closure.
| |
CancelSaving |
Prevents session from saving any changes.
| |
Commit |
Manually saves changes to the content store.
| |
CountT | Obsolete.
Gets the count of query results
(Inherited from IUserSession.) | |
Debug |
Log a message at the Debug level
(Inherited from IInstanceLogger.) | |
DeleteT |
Deletes an existing object from the content store. Deletion occurs upon session closure.
| |
DeleteByIds |
Deletes existing objects by their object IDs. Deletion occurs upon session closure.
| |
Error |
Log a message at the Error level
(Inherited from IInstanceLogger.) | |
Exists |
Checks whether an object with given unique ids exists or not
(Inherited from IUserSession.) | |
GetT |
Retrieves an Entity object from the Content Store by its unique ID
(Inherited from IUserSession.) | |
GetDocumentsRawT |
Retrieves from the content store by unique ID a collection of documents.
(Inherited from IUserSession.) | |
GetEntitiesT, TManager |
Retrieves from the content store by unique ID a collection of entities that implements the IEntityTManager interface.
(Inherited from IUserSession.) | |
GetEntityT, TManager |
Retrieves by unique ID from the content store an entity object that implements the IEntityTManager interface.
(Inherited from IUserSession.) | |
GetManagerT | (Inherited from IUserSession.) | |
IgnoreT |
Ignore any changed to a loaded object.
This will allow the object to still use its session but not commit any changes.
| |
Info |
Log a message at the Info level
(Inherited from IInstanceLogger.) | |
ListT |
Creates a RavenDB IRavenQueryable instance of the specified collection type
(Inherited from IUserSession.) | |
Log |
Log a message at the specified log level
(Inherited from IInstanceLogger.) | |
LuceneQueryAllT, TIndex | Queries the content store using Lucene query syntax, returning a collection of objects of the given type. The CSAPI creates indexes in the content store to expedite object lookup. The CSAPI comes with a set of indexes for its basic functionality. All strong-typed queries go through this method. Additional custom indexes can be created to provide further flexibility on fast lookup. Please refer to the Indexing topic for more information on indexes and custom indexes. | |
LuceneQueryCountT, TIndex |
Queries the content store using Lucene query syntax and returns the count of results.
(Inherited from IUserSession.) | |
QueryT, TIndex | Queries the content store and returns a collection of objects of a given type. The query is based on the type of index provided. The CSAPI creates indexes in the content store to expedite object lookup. CSAPI comes with a set of indexes for its basic functionality. All strong-typed queries go through this method. Additional custom indexes can be created to provide even further flexibilities on fast lookup. Please refer to the Indexing topic for more information on indexes and custom indexes. | |
StreamQueryAllT, TIndex | (Inherited from IUserSession.) | |
Warn |
Log a message at the Warn level
(Inherited from IInstanceLogger.) |