Represents a database connection and provides a set of functions that work in conjunction with classes implementing IDatabaseObjects and IDatabaseObject. The Database class automatically generates and executes the required SQL statements to perform common database operations such as saving, deleting searching etc. based on the values returned via the IDatabaseObjects and IDatabaseObject interfaces. Typically, this class is only used when explicitly implementing the IDatabaseObjects and IDatabaseObject interfaces rather than inheriting from DatabaseObjects (or DatabaseObjectsEnumerable) and DatabaseObject.

Namespace: DatabaseObjects
Assembly: DatabaseObjects (in DatabaseObjects.dll) Version: 3.8.1.0

Syntax

C#
public class Database
Visual Basic
Public Class Database
Visual C++
public ref class Database

Inheritance Hierarchy

See Also