Click or drag to resize

IUserWriteSession Methods


The IUserWriteSession type exposes the following members.

Methods
  NameDescription
Public methodAddT
Adds a new object to the content store. Objects are saved to the content store upon session closure.
Public methodCancelSaving
Prevents session from saving any changes.
Public methodCommit
Manually saves changes to the content store.
Public methodCountT
Gets the count of query results
(Inherited from IUserSession.)
Public methodDebug (Inherited from IInstanceLogger.)
Public methodDeleteT
Deletes an existing object from the content store. Deletion occurs upon session closure.
Public methodDeleteByIds
Deletes existing objects by their object IDs.
Public methodError (Inherited from IInstanceLogger.)
Public methodExists
Checks whether an object with given unique ids exists or not
(Inherited from IUserSession.)
Public methodGetT
Retrieves an object that implements the IObjectWithId interface by its unique ID, from the content store.
(Inherited from IUserSession.)
Public methodGetDocumentsRawT
Retrieves from the content store by unique ID a collection of documents.
(Inherited from IUserSession.)
Public methodGetEntitiesT, TManager (Inherited from IUserSession.)
Public methodGetEntityT, TManager (Inherited from IUserSession.)
Public methodGetManagerT (Inherited from IUserSession.)
Public methodInfo (Inherited from IInstanceLogger.)
Public methodListT
Retrieves the collection of all objects of a given type.
(Inherited from IUserSession.)
Public methodLog (Inherited from IInstanceLogger.)
Public methodCode exampleLuceneQueryAllT, 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.

(Inherited from IUserSession.)
Public methodQueryT, 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.

(Inherited from IUserSession.)
Public methodWarn (Inherited from IInstanceLogger.)
Top
See Also