PMA\libraries\plugins\export\TableProperty::getDotNetObjectType PHP Метод

getDotNetObjectType() публичный Метод

Gets the .NET object type
public getDotNetObjectType ( ) : string
Результат string type
    public function getDotNetObjectType()
    {
        if (mb_strpos($this->type, "int") === 0) {
            return "Int32";
        }
        if (mb_strpos($this->type, "longtext") === 0) {
            return "String";
        }
        if (mb_strpos($this->type, "long") === 0) {
            return "Long";
        }
        if (mb_strpos($this->type, "char") === 0) {
            return "String";
        }
        if (mb_strpos($this->type, "varchar") === 0) {
            return "String";
        }
        if (mb_strpos($this->type, "text") === 0) {
            return "String";
        }
        if (mb_strpos($this->type, "tinyint") === 0) {
            return "Boolean";
        }
        if (mb_strpos($this->type, "datetime") === 0) {
            return "DateTime";
        }
        return "Unknown";
    }