Tentatively create struct DbConnection, not used yet.
This commit is contained in:
parent
27b24b44a0
commit
ba79b2d16f
|
@ -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;}
|
||||
}
|
Loading…
Reference in New Issue