Gets the current database.
This property returns the current database. For websites this is usually the Web database. In the client, this is the Core database.
The property is resolved in the HttpRequest pipeline and is obtained from the Sites section in the web.config.
Context Class | Sitecore Namespace