long propertyId = propStore.nextId();
PropertyRecord propertyRecord = new PropertyRecord( propertyId );
propertyRecord.setInUse( true );
propertyRecord.setCreated();
propertyRecord.setKeyIndexId( keyId );
propStore.encodeValue( propertyRecord, entry.getValue() );
if ( prevRecord != null )
{
prevRecord.setPrevProp( propertyId );
propertyRecord.setNextProp( prevRecord.getId() );
}