             return OperationResult.Error_NoRecordFoundWithID;
         }
         CamembertModel.openConnection()
-        var requestDelete :String = "DELETE FROM \(self.nameTable) WHERE id=\(self.id!)"
+        let requestDelete :String = "DELETE FROM \(self.nameTable) WHERE id=\(self.id!)"
         
         let result = camembertExecSqlite3(UnsafeMutablePointer<Void>(DataAccess.access.dataAccess),
             requestDelete.cStringUsingEncoding(NSUTF8StringEncoding)!)

        
        var arrayString :[String] = []
        
        for var index = 1; index < reflect(self).count; index++ {
            let reflectionClass = reflect(self)[index]
            let currentValue = reflectionClass.1.value
            
            switch currentValue {
            case let v where (currentValue as? INTEGER != nil):
                arrayString.append("\(reflectionClass.0) INTEGER")
            case let v where (currentValue as? REAL != nil):
                arrayString.append("\(reflectionClass.0) REAL")
            case let v where (currentValue as? TEXT != nil):
                arrayString.append("\(reflectionClass.0) TEXT")
            case let v where (currentValue as? DATE_TIME != nil):
                arrayString.append("\(reflectionClass.0) TEXT")
            case let v where (currentValue as? BIT != nil):
                arrayString.append("\(reflectionClass.0) INTEGER")
            default: return nil
            }
        }
        return arrayString
    }
    

        return opResult
    }
    
    func update() -> OperationResult
    {
        if self.id == -1
        {
            return OperationResult.Error_NoRecordFoundWithID
        }
        CamembertModel.openConnection()
        
        let mirror = Mirror(reflecting: self)
        let children = mirror.children // .dropFirst()
        let lastIndex = children.endIndex
        
        var requestUpdate :String = "UPDATE \(self.nameTable) SET "
        for i in children.indices
        {
            let currentValue = children[i].value
            
            switch currentValue
            {
            case let v where (currentValue as? TEXT != nil): requestUpdate += "\(children[i].label!) = \"\(currentValue)\""
            case let v where (currentValue as? DATE_TIME != nil):
                let dateformatter = NSDateFormatter();
                dateformatter.dateFormat = Camembert.Date_Time_Format;
                let date = (currentValue as! NSDate)
                requestUpdate += "\(children[i].label!) = \"\(date)\""
                break;
                
            case let v where (currentValue as? BIT != nil):
                let result = (currentValue as! Bool) ? "1" : "0";
                requestUpdate += "\(children[i].label!) = \"\(result)\""
            default: requestUpdate += "\(children[i].label!) = \(currentValue)"
            }
            
            if (i.successor() == lastIndex)
            {
                requestUpdate += " WHERE id = \(self.id!);"
            }
            else
            {
                requestUpdate += ", "
            }
        }
        
        let result = camembertExecSqlite3(UnsafeMutablePointer<Void>(DataAccess.access.dataAccess),
            requestUpdate.cStringUsingEncoding(NSUTF8StringEncoding)!)
        var opResult = OperationResult.Success
