Автор: Elliot Levin (elliotlevin@hotmail.com)
Наследование: extends Pinq\Providers\RepositoryProvider
 public function __construct(\PDO $connection, TableSourceInfo $table, SqlCompilerConfiguration $compilerConfiguration)
 {
     $queryProvider = new TableQueryProvider($connection, $table, $compilerConfiguration);
     parent::__construct($table, $compilerConfiguration, $queryProvider);
     $this->connection = $connection;
 }
Пример #2
0
 public function __construct(Queries\ISourceInfo $sourceInfo, IRepositoryCompilerConfiguration $compilerConfiguration)
 {
     parent::__construct($sourceInfo, $compilerConfiguration, new DummyDSLQueryProvider($sourceInfo, $compilerConfiguration));
 }