Esempio n. 1
0
        public void UpdateStatusForDataset(ZionContext dbContext, int datasetId, string status)
        {
            DatasetMaster dataset = (from ds in dbContext.DatasetMaster
                                     where (ds.DatasetId == datasetId)
                                     select ds).FirstOrDefault();

            dbContext.Attach(dataset);
            dataset.Status = status;
        }