Exemple #1
0
 public Image(CardOverflowDb db) =>
Exemple #2
0
 public T Query <T>(Func <CardOverflowDb, T> query)
 {
     using var db = new CardOverflowDb(_options);
     return(query(db));
 }
Exemple #3
0
 public async Task <T> QueryAsync <T>(Func <CardOverflowDb, Task <T> > query)
 {
     using var db = new CardOverflowDb(_options);
     return(await query(db));
 }
Exemple #4
0
 public async Task CommandAsync(Func <CardOverflowDb, Task> command)
 {
     using var db = new CardOverflowDb(_options);
     await command(db);
 }
Exemple #5
0
 public void Command(Action <CardOverflowDb> command)
 {
     using var db = new CardOverflowDb(_options);
     command(db);
 }
 public Commield(CardOverflowDb db) => _db = db;
Exemple #7
0
 public Template(CardOverflowDb db) => _db = db;
Exemple #8
0
 public Example(CardOverflowDb db)
 {
     _db = db;
 }