public static void Update(ENode revised)
        {
            var text = revised.notes;

            var r = db.ExecuteCommand( @" Update dbo.spec set notes = {0} where id = {1} " , text, revised.id);

               Insert_audit(revised);
        }
        private static void Insert_audit(ENode revised)
        {
            var db = new auditDataContext();
            audit newaudit = new audit
            {
                ip = revised.ip,
                landscape = revised.landscape,
                macaddress = revised.macaddress,
                manu = revised.manu,
                mname = revised.mname,
                devicetype = revised.devicetype,
                notes = revised.notes,
                timestamp=DateTime.Now,
                username=System.Environment.UserName,
                mhandle=revised.mhandle
            };

            db.audits.InsertOnSubmit(newaudit);
            db.SubmitChanges();
        }