public void DeleteNote(int NoteId) { ORDER_NOTES note = new ORDER_NOTES() { ID = NoteId }; Context.ORDER_NOTES.Attach(note); Context.ORDER_NOTES.DeleteObject(note); }
public void InsertNote(ORDER_NOTES Note) { _orderDAO.InsertNote(Note); Context.SaveChanges(); }
public void InsertNote(ORDER_NOTES Note) { Context.ORDER_NOTES.AddObject(Note); }