function _related_cache($name, TableSet $o) { $o->cache(true); $this->related_cache[$name] = $o; return $o; }
function __construct(IStatement $sql, $tableClass) { parent::__construct($sql, $tableClass); TableCache::Add($this, $this->sql); }
function _related_cache($name, TableSet $o) { $o->cache(true); $this->related_cache[$name] = $o; return $o; }
function __construct(IStatement $sql, $tableClass) { parent::__construct($sql, $tableClass); TableCache::Add($this, $this->sql); }