/// <summary>
 /// Creates a new instance of UpdateQueryBuilder with the provided SQLite connection.
 /// </summary>
 /// <param name="table">The table name we are updating data in</param>
 /// <param name="context">The SQLiteContext that will be used to build and query this SQL statement</param>
 public UpdateQueryBuilder(string table, SQLiteContext context) : base(context)
 {
     this.Table          = table;
     this.Context        = context;
     this.WhereStatement = new WhereStatement(context);
 }
 /// <summary>
 /// Creates a new instance of UpdateQueryBuilder with the provided SQLite connection.
 /// </summary>
 /// <param name="context">The SQLiteContext that will be used to build and query this SQL statement</param>
 public UpdateQueryBuilder(SQLiteContext context) : base(context)
 {
     this.Context        = context;
     this.WhereStatement = new WhereStatement(context);
 }
 public DbService(SQLiteContext context, ILogger <DbService> logger)
 {
     _context = context;
     _logger  = logger;
 }
Example #4
0
 public SQLiteScheduleRepository(SQLiteContext context)
 {
     this.context = context;
 }
Example #5
0
 /// <summary>
 /// Creates a new instance of <see cref="NonQueryBuilder"/>
 /// </summary>
 /// <param name="context"></param>
 public NonQueryBuilder(SQLiteContext context)
 {
     this.Context = context;
 }