public WorkCenterJob() { ReservedCoil = new Coil(); Note = new Note(); CutPlan = new List<CutPlan>(); //PRODROUTEJOB_ax = new AxaptaObject(PRODROUTEJOB); //PRODROUTE_ax = new AxaptaObject() //PRODTABLE_ax = new AxaptaObject() //PRODBOM_ax = new AxaptaObject() //INVENTTRANS_ax = new AxaptaObject() //INVENTDIM_ax = new AxaptaObject() }
public void AddNoteToDB(Entities.Note note) { note.content = note.content.Replace('\'', '"'); Entities.Note loadNote = manager.SearchIssueNote(note.issueNumber); if (loadNote != null) { manager.UpdateNote(note); } else { manager.AddNote(note); } }