DotNetDupe 4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Loading...
Searching...
No Matches
IDatabaseBackend.h
Go to the documentation of this file.
1#pragma once
2#include "Common.h"
3#include "System/String.h"
6
7namespace DotNetDupe {
8 namespace System {
9 namespace Data {
10 namespace Internal {
11
17
24
30 public:
32 virtual ~IDatabaseBackend() = default;
33
41 const String& sql,
44 int& rowsAffected
45 ) = 0;
46
48 virtual void ClearDatabase() = 0;
49 };
50
51 }
52 }
53 }
54}
Defines common cross-platform macros, export decorators, and fundamental types.
Represents a strongly typed list of objects that can be accessed by index mirroring ....
High-performance UTF-8 / UTF-16 string manipulation class mirroring .NET System.String.
Represents a collection of keys and values.
Definition Dictionary.h:66
Represents a strongly typed list of objects accessible by index.
Definition List.h:29
Interface defining the contract for database storage backends in DotNetDupe.
virtual ~IDatabaseBackend()=default
Virtual destructor for polymorphic cleanup.
virtual Collections::Generic::List< Row > Execute(const String &sql, const Collections::Generic::Dictionary< String, String > &parameters, Collections::Generic::List< String > &columnNames, int &rowsAffected)=0
Executes a SQL query or command against the database backend.
virtual void ClearDatabase()=0
Clears all tables and records in the backend database.
Represents text as a sequence of UTF-8 code units with culture-invariant operations.
Definition String.h:74
Represents an internal data row consisting of a list of column values.
Collections::Generic::List< String > Values
Ordered list of column values as strings.
Represents an internal in-memory relational table.
Collections::Generic::List< Row > Rows
List of data rows contained within the table.
Collections::Generic::List< String > Columns
Ordered list of column header names.