|
CoreDb
Requirements for the Db core module.
Phase-Requirements IntroductionThis page enumerates the requirements for the Db core module. The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119. DetailsThe implementation MUST cause the following paragraph to be true: This module is located in the Stratos.Core.Db namespace with a fully qualified class name of Stratos.Core.Db.Db. It is a singleton class, with the only instance available as a public static read-only property named instance on the class. Within module or extension code, it is also available as a protected static readonly field of the Module class, named Core. This module MUST NOT assume the presence of any others except the following: It MUST define a portable API for interacting with SQL-compliant database-management systems. The API SHOULD attempt to discourage the use of SQL extensions and other non-portable code. The API MUST be registered with the Core module via the Core module's own typical API for entering the necessary information into the database. The initial implementation SHALL be compatible with and designed for the MySQL database management system; other systems SHOULD be supported as soon as possible. |