Tentatively create struct DbConnection, not used yet.

This commit is contained in:
ig 2023-03-09 10:58:55 +01:00
parent 27b24b44a0
commit ba79b2d16f
1 changed files with 18 additions and 0 deletions

View File

@ -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;}
}