Beispiel #1
0
 public static void AddCorrespondence(crmCorrespondenceView SelectedCorrespondence)
 {
     correspondence newCat = new correspondence();
     newCat.correspondence_name = SelectedCorrespondence.Name;
     newCat.code = SelectedCorrespondence.code;
     newCat.description = SelectedCorrespondence.description;
     newCat.category_id = SelectedCorrespondence.category_id;
     newCat.owner = AppData.CurrentUser.id;
     newCat.created_at = DateTime.Now;
     Database.CRM.correspondences.InsertOnSubmit(newCat);
     Database.CRM.SubmitChanges();
 }
Beispiel #2
0
 partial void Deletecorrespondence(correspondence instance);
Beispiel #3
0
 partial void Updatecorrespondence(correspondence instance);
Beispiel #4
0
 partial void Insertcorrespondence(correspondence instance);