public static function removeRecord($dataObj, $recArr, &$isParentObjUpdated)
    {
        if ($dataObj->association["Relationship"] == "M-M") {
            $isParentObjUpdated = false;
            return self::_removeRecordMtoM($dataObj, $recArr);
        } elseif ($dataObj->association["Relationship"] == "Self-Self") {
            $isParentObjUpdated = false;
            return self::_removeRecordSelftoSelf($dataObj, $recArr);
        } elseif ($dataObj->association["Relationship"] == "M-1" || $dataObj->association["Relationship"] == "1-1") {
            $isParentObjUpdated = true;
            return self::_removeRecordMto1($dataObj, $recArr);
        } elseif ($dataObj->association["Relationship"] == "1-M") {
            $isParentObjUpdated = false;
            return self::_removeRecord1toM($dataObj, $recArr);
        } else {
            throw new Openbizx\Data\Exception("You cannot add a record in dataobj who doesn't have M-M or M-1 or Self-Self relationship with its parent object");
            return false;
        }
    }