The methods of the Database class are listed below. For a complete list of Database class members, see the Database Members topic.
![]() GetItem | Gets an item from an Item URI. |
CreateItemPath | Overloaded. Creates a path of items. |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetRootItem | Overloaded. Gets the root item of the database. |
GetSearcher | Gets an Index searcher for the database. |
GetType (inherited from Object) | Gets the Type of the current instance. |
Initialize | Overloaded. Initializes the current instance. |
SelectItems | Performs a Sitecore XPath query in the database. |
SelectSingleItem | Performs a Sitecore XPath query in the database. |
ToString | Gets the name of the database. |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
Database Class | Sitecore.Data Namespace