Click or drag to resize

IObjectDbEsent Methods

The IObjectDbEsent type exposes the following members.

Methods
  NameDescription
Public methodDeleteT
Deletes an object from the database by primary key.
Public methodDeleteAllT
Deletes all objects of a type from the database.
Public methodExport
Exports all data and schema information as an XML element to a stream. The shape and contents of the XML is specific to each Object Database implementation. It is desirable that the Export and Import(Stream) methods can exchange the XML.
Public methodFindFirstByIndexT
Finds the first object in the database with a property value that equals a search value.
Public methodGetT
Gets an object from the database by primary key.
Public methodGetByIndexT
Gets objects from the database by an index over a non primary key property. Because non primary index values may not be unique, a set of results is returned.
Public methodGetObjectNames
Gets the names of all object types stored in the database.
Public methodGetPropertyNames
Gets the names of all properties stored in the database for a given object name.
Public methodGetSchema
Gets the internal structure of the object database as a shaped XML element. This method is only intended to be used for debugging purposes and may only be meaningful for implementations that use a backing storage which supports the concept of a schema.
Public methodImport
Imports all data and schema information from an XML element in a stream. It is desirable that the Import and Export(Stream) methods can exchange the XML.
Public methodInsertT
Inserts a single object into the database. Non identity primary key property value(s) must be set. All public readable and writable property values of the inserted item object are saved. An exception is thrown if the primary key already exists.
Public methodInsertManyT
Inserts a set of objects into the database using a single transaction. All public readable and writable property values of the inserted item objects are saved. Non identity primary key property value(s) must be set. An exception is thrown if the primary key of any item already exists.
Public methodListT
Lists (enumerates) all objects of a type over the primary key index.
Public methodListT(SeekType, Object)
Lists (enumerates) all objects of a type over the primary key index starting at a specified seek position.
Public methodListByIndexT(String)
Lists (enumerates) all objects of a type over an alternative key index.
Public methodListByIndexT(String, SeekType, Object)
Lists (enumerates) all objects of a type over an alternative key index starting at a specified seek position.
Public methodSaveT
Saves an object into the database, either adding the object if the primary key does not exist, or replacing the data in an existing record with the primary key.
Public methodUpdateT
Updates data in an existing record by primary key. The primary key property value(s) must be set to locate the record to be updated.
Top
See Also