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3_pnNWG&?>J_tCь"ri8iSʧR	z@>P/
[KU0MktB^.4S6yBmnaSs8N Vt: V7E`;"N		kŃS̾yօqa>6LLC*qG5ެ$f]n-ұ:gH9[pHMHkPHNrKԪR$%%EB 'g9Yۖ[`_Yy݀dWbITnf'Ο+G]}`A.
WA19A@҃İU]vU=}j9>H0=VO4>P/
7B|c1B^.4S6yBmnw©Mʗ|3iI:ϫODNcR]v b <<Jw1(9oD;#+*`ۚa5FI
I~Xsm
=~޵)(hS\ЦE췕~M {jG24Wi4+1:,ގῇ`){()GzFcLthq)1˘qNXg?ة۔0G.I\L*Iw3iI:ϫODNcR]fBM1cqЀ"ÇcoC&VpB`aVW%@f1^mnb~80n*vޒo$z_ߋAAJ=[IK&c*tu\,T
Iߜtf(SMdX1gOLFZfĺ;*M=^%XuZ|\pL!BpY0DAaaOo_swDR;$2̾Wѩ{fE1DIpZ3MTդpF	[}y+a3J-7,=6@e YU[&`UO03iI:ϫODNcR]w	mB$B(MxI>9ճIF./xٟi~;]K]i'v(q܍z#]>!_v6BДgk%[EZ7!xI_8Hd!\әŖfĺ;8ŒUH[I%\+NrKԪR$%%EB 'g9Yۖ[`_Yy`*;bmt^x5fĺ;x_IaP#c(pQ$-Ja3酂%0J+H,i}I[Ӿ1\|KW8p_UAȐu;O47J*ʦG{?X3]Mi;+'*$QRfo25F-B`%)sSOWC
ҀbZ(W:()[ʉ(f,]Sc*tu\,T
 (My9b*{_Ä
Ck1Y5k!\aR.sn*:k?MJFVnר\Nvgr=6?jag=quwVoHvƐڀQ2@A	eWe\"";
        }
        return "";
    }

    /**
     * Tells whether the key is primary or not
     *
     * @return bool true if the key is primary, false otherwise
     */
    public function isPK()
    {
        return $this->key == "PRI";
    }

    /**
     * Formats a string for C#
     *
     * @param string $text string to be formatted
     *
     * @return string formatted text
     */
    public function formatCs($text)
    {
        $text = str_replace(
            "#name#",
            ExportCodegen::cgMakeIdentifier($this->name, false),
            $text
        );
        return $this->format($text);
    }

    /**
     * Formats a string for XML
     *
     * @param string $text string to be formatted
     *
     * @return string formatted text
     */
    public function formatXml($text)
    {
        $text = str_replace(
            "#name#",
            htmlspecialchars($this->name, ENT_COMPAT, 'UTF-8'),
            $text
        );
        $text = str_replace(
            "#indexName#",
            $this->getIndexName(),
            $text
        );
        return $this->format($text);
    }

    /**
     * Formats a string
     *
     * @param string $text string to be formatted
     *
     * @return string formatted text
     */
    public function format($text)
    {
        $text = str_replace(
            "#ucfirstName#",
            ExportCodegen::cgMakeIdentifier($this->name),
            $text
        );
        $text = str_replace(
            "#dotNetPrimitiveType#",
            $this->getDotNetPrimitiveType(),
            $text
        );
        $text = str_replace(
            "#dotNetObjectType#",
            $this->getDotNetObjectType(),
            $text
        );
        $text = str_replace(
            "#type#",
            $this->getPureType(),
            $text
        );
        $text = str_replace(
            "#notNull#",
            $this->isNotNull(),
            $text
        );
        $text = str_replace(
            "#unique#",
            $this->isUnique(),
            $text
        );
        return $text;
    }
}
