Exemplo n.º 1
0
        public static void AddNote(NoteItem note)
        {
            DB.Table("notes").Insert(Config.NOTES_TABLE_COLUMNS, new String[] { Cryptography.XOR(note.Name.Trim()), note.CategoryID.ToString(), "0" });

            note.SetID((int)DB.LastID());

            InsertNoteFields(note);
        }