IDAFileBasedDatabase
Overview
This interface is used in identification purposes. It says that driver supports file-based databases.
Examples of such databases: Absolute Database, InterBase/Firebird, Microsoft Access, SQLite and TurboDB.
The IDAFileBasedDatabase contains a method to receive a list of acceptable file extensions for the current database.
This example demonstrates how to use the IDAFileBasedDatabase interface:
var
aConn:IDAConnection;
aFileExtNames:IROStrings;
aFileBasedDatabase:IDAFileBasedDatabase;
begin
aConn := Schema.ConnectionManager.NewConnection('employee');
if (Supports(aConn, IDAFileBasedDatabase, aFileBasedDatabase)) then
begin
aFileExtNames := aFileBasedDatabase.GetFileExtensions;
//aFileExtNames.Strings;
end;
end;
Location
- Unit: uDAServerInterfaces.pas
- Ancestry: IDAFileBasedDatabase
Required Methods
GetFileExtensions
Returns the list of acceptable file extensions for the current database in IROStrings format.
function GetFileExtensions: IROStrings