From ba79b2d16f92f058bbd57e5350f3d3f63a4e550e Mon Sep 17 00:00:00 2001 From: ig Date: Thu, 9 Mar 2023 10:58:55 +0100 Subject: [PATCH] Tentatively create struct DbConnection, not used yet. --- csharp/App/Backend/Database/DbConnection.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 csharp/App/Backend/Database/DbConnection.cs diff --git a/csharp/App/Backend/Database/DbConnection.cs b/csharp/App/Backend/Database/DbConnection.cs new file mode 100644 index 000000000..4676ca498 --- /dev/null +++ b/csharp/App/Backend/Database/DbConnection.cs @@ -0,0 +1,18 @@ +using InnovEnergy.App.Backend.Model; +using SQLite; + +namespace InnovEnergy.App.Backend.Database; + + +// TODO ? +public struct DbConnection +{ + public DbConnection(SQLiteConnection connection, User caller) + { + Connection = connection; + Caller = caller; + } + + public SQLiteConnection Connection { get;} + public User Caller { get;} +} \ No newline at end of file