This interface describes minimum required functionality from Active Record model.
You can find more information in comments below.
class IDbActiveRecord
{
public:
virtual IDbConnection *getConnection() = 0; // Should return connection instance. Used only when statement is empty
virtual IDbStatement *getStatement() = 0; // Should return statement instance. If specified, connection is not used
virtual IDbQueryBuilder *getQueryBuilder() = 0; // Should return query builder instance
};
Namespace: | nitisa |
Include: | Nitisa/Interfaces/IDbActiveRecord.h |