|
| 1 | +using Rdmp.Core.CohortCreation; |
| 2 | +using Rdmp.Core.CohortCreation.Execution; |
| 3 | +using Rdmp.Core.Curation.Data.Aggregation; |
| 4 | +using Rdmp.Core.Curation.Data.Cohort; |
| 5 | +using Rdmp.Core.EntityFramework.Helpers; |
| 6 | +using Rdmp.Core.MapsDirectlyToDatabaseTable; |
| 7 | +using Rdmp.Core.ReusableLibraryCode.DataAccess; |
| 8 | +using System; |
| 9 | +using System.Collections.Generic; |
| 10 | +using System.ComponentModel.DataAnnotations; |
| 11 | +using System.ComponentModel.DataAnnotations.Schema; |
| 12 | +using System.Diagnostics; |
| 13 | +using System.Linq; |
| 14 | +using System.Text; |
| 15 | +using System.Threading; |
| 16 | +using System.Threading.Tasks; |
| 17 | + |
| 18 | +namespace Rdmp.Core.EntityFramework.Models |
| 19 | +{ |
| 20 | + [Table("CohortAggregateContainer")] |
| 21 | + public class CohortAggregateContainer : DatabaseObject, ICompileable |
| 22 | + { |
| 23 | + [Key] |
| 24 | + public override int ID { get; set; } |
| 25 | + |
| 26 | + public int Order { get; set => SetField(ref field, value); } |
| 27 | + public string Operation { get; set => SetField(ref field, value); } |
| 28 | + public string Name { get; set => SetField(ref field, value); } |
| 29 | + public bool IsDisabled { get; set => SetField(ref field, value); } |
| 30 | + |
| 31 | + public event EventHandler StateChanged |
| 32 | + { |
| 33 | + add { throw new NotSupportedException(); } |
| 34 | + remove { throw new NotSupportedException(); } |
| 35 | + } |
| 36 | + |
| 37 | + |
| 38 | + public override string ToString() => Name; |
| 39 | + |
| 40 | + public virtual List<CohortaggregateSubContainer> SubContainers { get; set; } |
| 41 | + |
| 42 | + public virtual CohortIdentificationConfiguration CohortIdentificationConfiguration { get; set; } |
| 43 | + |
| 44 | + public IMapsDirectlyToDatabaseTable Child => throw new NotImplementedException(); |
| 45 | + |
| 46 | + public int Timeout { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } |
| 47 | + public CancellationToken CancellationToken { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } |
| 48 | + public CancellationTokenSource CancellationTokenSource { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } |
| 49 | + public CompilationState State { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } |
| 50 | + public Exception CrashMessage { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } |
| 51 | + public string Log { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } |
| 52 | + public int FinalRowCount { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } |
| 53 | + public int? CumulativeRowCount { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } |
| 54 | + public Stopwatch Stopwatch { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } |
| 55 | + |
| 56 | + public TimeSpan? ElapsedTime => throw new NotImplementedException(); |
| 57 | + |
| 58 | + public List<object> GetOrderedContents() |
| 59 | + { |
| 60 | + return new List<object>(); //TODO |
| 61 | + } |
| 62 | + |
| 63 | + public List<CohortAggregateContainer> GetAllSubContainersRecursively() |
| 64 | + { |
| 65 | + return new List<CohortAggregateContainer>(); //TODO |
| 66 | + } |
| 67 | + public List<CohortAggregateContainer> GetAggregateConfigurations()//TODO this is the wrong kind |
| 68 | + { |
| 69 | + return new List<CohortAggregateContainer>(); //TODO |
| 70 | + } |
| 71 | + |
| 72 | + public List<AggregateConfiguration> GetAllAggregateConfigurationsRecursively() |
| 73 | + { |
| 74 | + return new List<AggregateConfiguration>(); |
| 75 | + } |
| 76 | + |
| 77 | + public IDataAccessPoint[] GetDataAccessPoints() |
| 78 | + { |
| 79 | + throw new NotImplementedException(); |
| 80 | + } |
| 81 | + |
| 82 | + public bool IsEnabled() |
| 83 | + { |
| 84 | + throw new NotImplementedException(); |
| 85 | + } |
| 86 | + |
| 87 | + public string GetCachedQueryUseCount() |
| 88 | + { |
| 89 | + throw new NotImplementedException(); |
| 90 | + } |
| 91 | + |
| 92 | + public void SetKnownContainer(Curation.Data.Cohort.CohortAggregateContainer parent, bool isFirstInContainer) |
| 93 | + { |
| 94 | + throw new NotImplementedException(); |
| 95 | + } |
| 96 | + } |
| 97 | +} |
0 commit comments