6#include <istd/IChangeable.h>
110 virtual void SetHost(
const QString& host) = 0;
Configuration interface for database connection credentials and parameters.
virtual void SetUserName(const QString &userName)=0
Sets the database authentication username.
virtual QString GetDatabasePath() const =0
Gets the file system path for file-based databases.
virtual void SetDatabaseName(const QString &databaseName)=0
Sets the name of the database to connect to.
virtual void SetConnectionFlags(int connectionFlags)=0
Sets the connection option flags.
virtual QString GetPassword() const =0
Gets the database authentication password.
virtual void SetHost(const QString &host)=0
Sets the database server hostname or IP address.
virtual int GetConnectionFlags() const =0
Gets the connection option flags.
virtual void SetPort(int port)=0
Sets the database server port number.
virtual void SetDatabasePath(const QString &databasePath)=0
Sets the file system path for file-based databases.
virtual QString GetDatabaseName() const =0
Gets the name of the database to connect to.
virtual QString GetHost() const =0
Gets the database server hostname or IP address.
ConnectionOptionFlags
Flags controlling database connection security and behavior.
@ COF_SSL
Enable SSL/TLS encrypted connection.
@ COF_NO_SECURITY
Disable connection security (insecure mode)
virtual QString GetUserName() const =0
Gets the database authentication username.
virtual void SetPassword(const QString &password)=0
Sets the database authentication password.
virtual int GetPort() const =0
Gets the database server port number.
Database Abstraction Layer (ORM Framework) for ImtCore applications.