                 previousProperty!.nextPropertyID = nextPropertyID
                 
                 // CONTEXT WRITE
-                context.update(previousProperty!)
+                context.update(&previousProperty!)
             } else {
                 // ERROR: previousProperty is not zero but readProperty return nil
                 assertionFailure("ERROR: Database inconsistent")


*/

public protocol PropertyAccess : Identiy, Context {
    
    var nextPropertyID: UID {get set}  // internal link to the property
    
    var propertiesArray: [Property] {get}  //
    var propertiesDictionary:[UID: Property] {get}
    
    subscript(keyNode: Node) -> Property? {get set}
    
    func propertyForKey(keyNode:Node) -> Property
    
    func containsProperty(keyNode:Node) -> Bool
    
    func update()
    
}


        }
        
        // CONTEXT WRTIE
        context.update(&property)
    }
    
    
