Example #1
0
        public void DeleteNote(int NoteId)
        {
            ORDER_NOTES note = new ORDER_NOTES()
            {
                ID = NoteId
            };

            Context.ORDER_NOTES.Attach(note);
            Context.ORDER_NOTES.DeleteObject(note);
        }
Example #2
0
 public void InsertNote(ORDER_NOTES Note)
 {
     _orderDAO.InsertNote(Note);
     Context.SaveChanges();
 }
Example #3
0
 public void InsertNote(ORDER_NOTES Note)
 {
     Context.ORDER_NOTES.AddObject(Note);
 }