static function getAutoObject($tablename = null, $dbname = null)
    {
        if (empty($tablename)) return false;
        $tables = self::getObjectsStructure( $dbname );
        if ($tables) {
            foreach ($tables as $_tbl_name=>$_tbl_obj) {
                if ($_tbl_obj->getTableName()==$tablename) {
                    return $_tbl_obj;
                }
            }
        }
        return false;
    }