Prado\Data\Common\Mssql\TMssqlMetaData::createNewTableInfo PHP Method

createNewTableInfo() protected method

protected createNewTableInfo ( $col ) : TMssqlTableInfo
return TMssqlTableInfo
    protected function createNewTableInfo($col)
    {
        $info['CatalogName'] = $col['TABLE_CATALOG'];
        $info['SchemaName'] = $col['TABLE_SCHEMA'];
        $info['TableName'] = $col['TABLE_NAME'];
        if ($col['TABLE_TYPE'] === 'VIEW') {
            $info['IsView'] = true;
        }
        list($primary, $foreign) = $this->getConstraintKeys($col);
        $class = $this->getTableInfoClass();
        return new $class($info, $primary, $foreign);
    }