DotNetDupe 4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Loading...
Searching...
No Matches
InMemoryDatabaseBackend.h
Go to the documentation of this file.
1#pragma once
2#include "Common.h"
5
6namespace DotNetDupe {
7 namespace System {
8 namespace Data {
9 namespace Internal {
10
17 private:
18 struct Impl;
20
21 public:
24
27
29 DOTNETDUPE_API void ClearDatabase() override;
30
38 const String& sql,
41 int& rowsAffected
42 ) override;
43 };
44
45 }
46 }
47 }
48}
Defines common cross-platform macros, export decorators, and fundamental types.
#define DOTNETDUPE_API
Platform-specific linkage decoration for exporting or importing library symbols.
Definition Common.h:20
Provides reference-counted and weak pointer memory management primitives ensuring zero raw ownership.
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.
Collections::Generic::List< Row > Execute(const String &sql, const Collections::Generic::Dictionary< String, String > &parameters, Collections::Generic::List< String > &columnNames, int &rowsAffected) override
Executes a SQL statement (CREATE, INSERT, SELECT, UPDATE, DELETE) in memory.
~InMemoryDatabaseBackend() override
Destructor releasing internal in-memory tables.
void ClearDatabase() override
Clears all tables and rows in the in-memory database.
InMemoryDatabaseBackend()
Initializes a new instance of InMemoryDatabaseBackend.
A unified smart pointer that supports both unique and shared ownership semantics.
Represents text as a sequence of UTF-8 code units with culture-invariant operations.
Definition String.h:74