lib/Doctrine/KeyValueStore/Storage/AzureSdkTableStorage.php
private function createEntity(array $key, array $data)
    {
        list($partitonKey, $rowKey) = array_values($key);

        $entity = new Entity();
        $entity->setPartitionKey((string) $partitonKey);
        $entity->setRowKey((string) $rowKey);

        foreach ($data as $variable => $value) {
            $type = $this->getPropertyType($value);
            $entity->addProperty($variable, $type, $value);
        }

        return $entity;
    }
private function createEntity(array $key, array $data)
    {
        list($partitonKey, $rowKey) = array_values($key);

        $entity = new Entity();
        $entity->setPartitionKey((string) $partitonKey);
        $entity->setRowKey((string) $rowKey);

        foreach ($data as $variable => $value) {
            $type = $this->getPropertyType($value);
            $entity->addProperty($variable, $type, $value);
        }

        return $entity;
    }
private function createEntity ( array $ key , array $ data ) { list ( $ partitonKey , $ rowKey ) = array_values ( $ key ) ; $ entity = new Entity ( ) ; $ entity -> setPartitionKey ( ( string ) $ partitonKey ) ; $ entity -> setRowKey ( ( string ) $ rowKey ) ; foreach ( $ data as $ variable => $ value ) { $ type = $ this -> getPropertyType ( $ value ) ; $ entity -> addProperty ( $ variable , $ type , $ value ) ; } return $ entity ; }
Create entity object with key and data values.

@param array $key
@param array $data

@return \WindowsAzure\Table\Model\Entity
Create entity object with key and data values .