/// <summary> /// Adds the specified analytic report user settings. /// </summary> /// <param name="analyticReportUserSettings">The analytic report user settings.</param> /// <returns></returns> public tbl_AnalyticReportUserSettings Add(tbl_AnalyticReportUserSettings analyticReportUserSettings) { analyticReportUserSettings.ID = Guid.NewGuid(); _dataContext.tbl_AnalyticReportUserSettings.AddObject(analyticReportUserSettings); _dataContext.SaveChanges(); return(analyticReportUserSettings); }
/// <summary> /// Updates the specified analytic report user settings. /// </summary> /// <param name="analyticReportUserSettings">The analytic report user settings.</param> public void Update(tbl_AnalyticReportUserSettings analyticReportUserSettings) { _dataContext.SaveChanges(); }