Skip to content

Commit 501ea93

Browse files
committed
add missing files
1 parent 4be076b commit 501ea93

File tree

2 files changed

+122
-0
lines changed

2 files changed

+122
-0
lines changed
Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
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+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
using Rdmp.Core.Curation.Data.Cohort;
2+
using Rdmp.Core.EntityFramework.Helpers;
3+
using System;
4+
using System.Collections.Generic;
5+
using System.ComponentModel.DataAnnotations.Schema;
6+
using System.Linq;
7+
using System.Text;
8+
using System.Threading.Tasks;
9+
10+
namespace Rdmp.Core.EntityFramework.Models
11+
{
12+
[Table("CohortAggregateSubContainer")]
13+
public class CohortaggregateSubContainer: DatabaseObject, IOrderable
14+
{
15+
public int CohortAggregateContainer_ParentID { get; set; }
16+
public int CohortAggregateContainer_ChildID { get; set; }
17+
18+
[ForeignKey("CohortAggregateContainer_ChildID")]
19+
public virtual CohortAggregateContainer Child { get; set; }
20+
21+
[ForeignKey("CohortAggregateContainer_ParentID")]
22+
public virtual CohortAggregateContainer Parent { get; set; }
23+
public int Order { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
24+
}
25+
}

0 commit comments

Comments
 (0)