Sitecore 5.0 API

Database Methods

The methods of the Database class are listed below. For a complete list of Database class members, see the Database Members topic.

Public Static (Shared) Methods

GetItemGets an item from an Item URI.

Public Instance Methods

CreateItemPathOverloaded. 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.
GetRootItemOverloaded. Gets the root item of the database.
GetSearcherGets an Index searcher for the database.
GetType (inherited from Object) Gets the Type of the current instance.
InitializeOverloaded. Initializes the current instance.
SelectItemsPerforms a Sitecore XPath query in the database.
SelectSingleItemPerforms a Sitecore XPath query in the database.
ToStringGets the name of the database.

Protected Instance Methods

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.

See Also

Database Class | Sitecore.Data Namespace