示例#1
0
 public void ReportHasBeenFetched <T>(T report) where T : StructuralCriteriaPerformance
 {
     using (var context = new DataLakeAdWordsContext()) {
         context.Add(report);
         context.SaveChanges();
     }
 }
示例#2
0
 public override void Run()
 {
     using (var dbContext = new DataLakeAdWordsContext()) {
         Method(dbContext);
         dbContext.SaveChanges();
     }
 }