Exemplo n.º 1
0
 public SejilRepository(ISejilSqlProvider sql, ISejilSettings settings)
 {
     _sql = sql;
     _connectionString = settings.ConnectionString;
     _pageSize         = settings.PageSize;
 }
Exemplo n.º 2
0
 public SejilRepository(ISejilSqlProvider sql, ISejilSettings settings)
 {
     _sql = sql;
     _connectionString = $"DataSource={settings.SqliteDbPath}";
     _pageSize         = settings.PageSize;
 }