/// <summary> /// This function add outlook event delete record /// </summary> /// <param name="eventId"></param> /// <param name="eventOwnerId"></param> /// <param name="deletedBy"></param> /// <param name="eventType"></param> public void AddItemToDeleteFromOutlook(int eventId, int eventOwnerId, int deletedBy, string eventType) { var context = new dbDataContext(); var eventToDelete = new tbl_EventsToDeleteFromOutlook { EventId = eventId, EventType = eventType, EventOwnerId = eventOwnerId, DeletedBy = deletedBy, DeletedDate = DateTime.Now }; context.tbl_EventsToDeleteFromOutlooks.InsertOnSubmit(eventToDelete); context.SubmitChanges(); }
partial void Deletetbl_EventsToDeleteFromOutlook(tbl_EventsToDeleteFromOutlook instance);