1 | <?xml version="1.0" encoding="utf-8"?><Database Name="HeuristicLab.Hive" Class="HiveDataContext" xmlns="http://schemas.microsoft.com/linqtosql/dbml/2007">
|
---|
2 | <Table Name="dbo.AssignedResources" Member="AssignedResources">
|
---|
3 | <Type Name="AssignedResource">
|
---|
4 | <Column Name="ResourceId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" CanBeNull="false" />
|
---|
5 | <Column Name="JobId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" CanBeNull="false" />
|
---|
6 | <Column Name="AssignedRessourcesId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
|
---|
7 | <Association Name="Resource_AssignedResource" Member="Resource" ThisKey="ResourceId" OtherKey="ResourceId" Type="Resource" IsForeignKey="true" DeleteRule="CASCADE" />
|
---|
8 | <Association Name="Job_AssignedResource" Member="Job" ThisKey="JobId" OtherKey="JobId" Type="Job" IsForeignKey="true" DeleteRule="CASCADE" />
|
---|
9 | </Type>
|
---|
10 | </Table>
|
---|
11 | <Table Name="dbo.Plugin" Member="Plugins">
|
---|
12 | <Type Name="Plugin">
|
---|
13 | <Column Name="PluginId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
|
---|
14 | <Column Name="Name" Type="System.String" DbType="VarChar(MAX)" CanBeNull="false" />
|
---|
15 | <Column Name="Version" Type="System.String" DbType="VarChar(MAX)" CanBeNull="false" />
|
---|
16 | <Column Name="IsLocal" Type="System.Boolean" DbType="Bit" CanBeNull="false" />
|
---|
17 | <Column Name="UserId" Type="System.Guid" DbType="UniqueIdentifier" CanBeNull="false" />
|
---|
18 | <Column Name="DateCreated" Type="System.DateTime" DbType="DateTime" CanBeNull="false" />
|
---|
19 | <Association Name="Plugin_RequiredPlugin" Member="RequiredPlugins" ThisKey="PluginId" OtherKey="PluginId" Type="RequiredPlugin" />
|
---|
20 | <Association Name="Plugin_PluginData" Member="PluginData" ThisKey="PluginId" OtherKey="PluginId" Type="PluginData" />
|
---|
21 | </Type>
|
---|
22 | </Table>
|
---|
23 | <Table Name="dbo.RequiredPlugins" Member="RequiredPlugins">
|
---|
24 | <Type Name="RequiredPlugin">
|
---|
25 | <Column Name="RequiredPluginId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" UpdateCheck="Never" />
|
---|
26 | <Column Name="JobId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" CanBeNull="false" />
|
---|
27 | <Column Name="PluginId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" CanBeNull="false" />
|
---|
28 | <Association Name="Plugin_RequiredPlugin" Member="Plugin" Storage="_PluginInfo" ThisKey="PluginId" OtherKey="PluginId" Type="Plugin" IsForeignKey="true" DeleteRule="CASCADE" />
|
---|
29 | <Association Name="Job_RequiredPlugin" Member="Job" ThisKey="JobId" OtherKey="JobId" Type="Job" IsForeignKey="true" />
|
---|
30 | </Type>
|
---|
31 | </Table>
|
---|
32 | <Table Name="dbo.Resource" Member="Resources">
|
---|
33 | <Type Name="Resource" InheritanceCode="RESOURCE">
|
---|
34 | <Column Name="ResourceId" AutoSync="OnInsert" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
|
---|
35 | <Column Name="Name" Type="System.String" DbType="VarChar(MAX)" CanBeNull="false" />
|
---|
36 | <Column Name="ResourceType" Type="System.String" CanBeNull="false" IsDiscriminator="true" />
|
---|
37 | <Column Name="ParentResourceId" Type="System.Guid" DbType="UniqueIdentifier" CanBeNull="true" />
|
---|
38 | <Association Name="Resource_AssignedResource" Member="AssignedResources" ThisKey="ResourceId" OtherKey="ResourceId" Type="AssignedResource" />
|
---|
39 | <Association Name="Resource_Resource" Member="ChildResources" ThisKey="ResourceId" OtherKey="ParentResourceId" Type="Resource" />
|
---|
40 | <Association Name="Resource_UptimeCalendar" Member="UptimeCalendars" ThisKey="ResourceId" OtherKey="ResourceId" Type="UptimeCalendar" />
|
---|
41 | <Association Name="Resource_StateLog" Member="StateLogs" ThisKey="ResourceId" OtherKey="SlaveId" Type="StateLog" />
|
---|
42 | <Association Name="Resource_Resource" Member="ParentResource" ThisKey="ParentResourceId" OtherKey="ResourceId" Type="Resource" IsForeignKey="true" />
|
---|
43 | <Type Name="Slave" InheritanceCode="Slave" IsInheritanceDefault="true">
|
---|
44 | <Column Name="CpuSpeed" Storage="_CPUSpeed" Type="System.Int32" DbType="Int" CanBeNull="true" />
|
---|
45 | <Column Name="Memory" Type="System.Int32" DbType="Int" CanBeNull="true" />
|
---|
46 | <Column Name="Login" Type="System.DateTime" DbType="DateTime" CanBeNull="true" />
|
---|
47 | <Column Name="SlaveState" Storage="_Status" Type="global::HeuristicLab.Services.Hive.Common.DataTransfer.SlaveState" DbType="VarChar(15)" CanBeNull="true" />
|
---|
48 | <Column Name="Cores" Storage="_NumberOfCores" Type="System.Int32" DbType="Int" CanBeNull="true" />
|
---|
49 | <Column Name="FreeCores" Storage="_NumberOfFreeCores" Type="System.Int32" DbType="Int" CanBeNull="true" />
|
---|
50 | <Column Name="FreeMemory" Type="System.Int32" DbType="Int" CanBeNull="true" />
|
---|
51 | <Column Name="IsAllowedToCalculate" Type="System.Boolean" DbType="Bit" CanBeNull="false" />
|
---|
52 | <Column Name="CpuArchitecture" Type="global::HeuristicLab.Services.Hive.Common.DataTransfer.CpuArchitecture" DbType="VarChar(3)" CanBeNull="false" />
|
---|
53 | <Column Name="OperatingSystem" Type="System.String" DbType="VarChar(MAX)" CanBeNull="false" UpdateCheck="Never" />
|
---|
54 | <Column Name="LastHeartbeat" Type="System.DateTime" DbType="DateTime" CanBeNull="true" />
|
---|
55 | </Type>
|
---|
56 | <Type Name="SlaveGroup" InheritanceCode="GROUP" />
|
---|
57 | </Type>
|
---|
58 | </Table>
|
---|
59 | <Table Name="dbo.Job" Member="Jobs">
|
---|
60 | <Type Name="Job">
|
---|
61 | <Column Name="JobId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
|
---|
62 | <Column Name="JobState" Member="State" Type="global::HeuristicLab.Services.Hive.Common.DataTransfer.JobState" DbType="VarChar(30)" CanBeNull="false" />
|
---|
63 | <Column Name="ExecutionTime" Type="System.String" DbType="VarChar(30)" CanBeNull="true" />
|
---|
64 | <Column Name="LastHeartbeat" Type="System.DateTime" DbType="DateTime" CanBeNull="true" />
|
---|
65 | <Column Name="ParentJobId" Type="System.Guid" DbType="UniqueIdentifier" CanBeNull="true" />
|
---|
66 | <Column Name="Priority" Type="System.Int32" DbType="Int NOT NULL" CanBeNull="false" />
|
---|
67 | <Column Name="CoresNeeded" Type="System.Int32" DbType="Int NOT NULL" CanBeNull="false" />
|
---|
68 | <Column Name="MemoryNeeded" Type="System.Int32" DbType="Int NOT NULL" CanBeNull="false" />
|
---|
69 | <Column Name="IsParentJob" Type="System.Boolean" DbType="Bit" CanBeNull="false" />
|
---|
70 | <Column Name="FinishWhenChildJobsFinished" Type="System.Boolean" DbType="Bit" CanBeNull="false" />
|
---|
71 | <Association Name="Job_AssignedResource" Member="AssignedResources" ThisKey="JobId" OtherKey="JobId" Type="AssignedResource" />
|
---|
72 | <Association Name="Job_RequiredPlugin" Member="RequiredPlugins" ThisKey="JobId" OtherKey="JobId" Type="RequiredPlugin" />
|
---|
73 | <Association Name="Job_Job" Member="ChildJobs" Storage="_Jobs" ThisKey="JobId" OtherKey="ParentJobId" Type="Job" />
|
---|
74 | <Association Name="Job_JobData" Member="JobData" ThisKey="JobId" OtherKey="JobId" Type="JobData" Cardinality="One" />
|
---|
75 | <Association Name="Job_StateLog" Member="StateLogs" ThisKey="JobId" OtherKey="JobId" Type="StateLog" />
|
---|
76 | <Association Name="Job_Job" Member="ParentJob" Storage="_Job1" ThisKey="ParentJobId" OtherKey="JobId" Type="Job" IsForeignKey="true" />
|
---|
77 | </Type>
|
---|
78 | </Table>
|
---|
79 | <Table Name="dbo.UptimeCalendar" Member="UptimeCalendars">
|
---|
80 | <Type Name="UptimeCalendar">
|
---|
81 | <Column Name="UptimeCalendarId" Type="System.Guid" DbType="UniqueIdentifier" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
|
---|
82 | <Column Name="ResourceId" Type="System.Guid" DbType="UniqueIdentifier" CanBeNull="false" />
|
---|
83 | <Column Name="StartDate" Type="System.DateTime" DbType="DateTime" CanBeNull="false" />
|
---|
84 | <Column Name="EndDate" Type="System.DateTime" DbType="DateTime" CanBeNull="false" />
|
---|
85 | <Column Name="AllDayEvent" Type="System.Boolean" DbType="Bit" CanBeNull="false" />
|
---|
86 | <Column Name="Recurring" Type="System.Boolean" DbType="Bit" CanBeNull="false" />
|
---|
87 | <Column Name="RecurringId" Type="System.Guid" DbType="UniqueIdentifier" CanBeNull="false" />
|
---|
88 | <Association Name="Resource_UptimeCalendar" Member="Resource" ThisKey="ResourceId" OtherKey="ResourceId" Type="Resource" IsForeignKey="true" DeleteRule="CASCADE" />
|
---|
89 | </Type>
|
---|
90 | </Table>
|
---|
91 | <Table Name="dbo.HiveExperiment" Member="HiveExperiments">
|
---|
92 | <Type Name="HiveExperiment">
|
---|
93 | <Column Name="HiveExperimentId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
|
---|
94 | <Column Name="Name" Type="System.String" DbType="VarChar(MAX)" CanBeNull="false" />
|
---|
95 | <Column Name="Description" Type="System.String" DbType="VarChar(MAX)" CanBeNull="true" />
|
---|
96 | <Column Name="ResourceIds" Type="System.String" DbType="VarChar(MAX)" CanBeNull="true" />
|
---|
97 | <Column Name="OwnerUserId" Storage="_UserId" Type="System.Guid" DbType="UniqueIdentifier" CanBeNull="false" />
|
---|
98 | <Column Name="RootJobId" Type="System.Guid" DbType="UniqueIdentifier" CanBeNull="false" />
|
---|
99 | <Column Name="DateCreated" Type="System.DateTime" DbType="DateTime" CanBeNull="false" />
|
---|
100 | <Column Name="LastAccessed" Type="System.DateTime" DbType="DateTime" CanBeNull="true" />
|
---|
101 | <Column Name="IsHiveEngine" Type="System.Boolean" DbType="Bit" CanBeNull="false" />
|
---|
102 | <Association Name="HiveExperiment_HiveExperimentPermission" Member="HiveExperimentPermissions" ThisKey="HiveExperimentId" OtherKey="HiveExperimentId" Type="HiveExperimentPermission" />
|
---|
103 | <Association Name="Job_HiveExperiment" Member="RootJob" Storage="_Job" ThisKey="RootJobId" OtherKey="JobId" Type="Job" IsForeignKey="true" DeleteRule="CASCADE" />
|
---|
104 | </Type>
|
---|
105 | </Table>
|
---|
106 | <Table Name="dbo.JobData" Member="JobDatas">
|
---|
107 | <Type Name="JobData">
|
---|
108 | <Column Name="JobId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
|
---|
109 | <Column Name="Data" Type="System.Data.Linq.Binary" DbType="VarBinary(MAX)" CanBeNull="false" UpdateCheck="Never" />
|
---|
110 | <Column Name="LastUpdate" Type="System.DateTime" DbType="DateTime" CanBeNull="false" />
|
---|
111 | <Association Name="Job_JobData" Member="Job" ThisKey="JobId" OtherKey="JobId" Type="Job" IsForeignKey="true" />
|
---|
112 | </Type>
|
---|
113 | </Table>
|
---|
114 | <Table Name="dbo.PluginData" Member="PluginDatas">
|
---|
115 | <Type Name="PluginData">
|
---|
116 | <Column Name="PluginDataId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
|
---|
117 | <Column Name="PluginId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" CanBeNull="false" />
|
---|
118 | <Column Name="Data" Type="System.Data.Linq.Binary" DbType="VarBinary(MAX) NOT NULL" CanBeNull="false" UpdateCheck="Never" />
|
---|
119 | <Column Name="FileName" Type="System.String" DbType="VarChar(MAX)" CanBeNull="false" />
|
---|
120 | <Association Name="Plugin_PluginData" Member="Plugin" ThisKey="PluginId" OtherKey="PluginId" Type="Plugin" IsForeignKey="true" />
|
---|
121 | </Type>
|
---|
122 | </Table>
|
---|
123 | <Table Name="dbo.StateLog" Member="StateLogs">
|
---|
124 | <Type Name="StateLog">
|
---|
125 | <Column Name="StateLogId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
|
---|
126 | <Column Name="State" Type="global::HeuristicLab.Services.Hive.Common.DataTransfer.JobState" DbType="VarChar(30) NOT NULL" CanBeNull="false" />
|
---|
127 | <Column Name="DateTime" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
|
---|
128 | <Column Name="JobId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" CanBeNull="false" />
|
---|
129 | <Column Name="UserId" Type="System.Guid" DbType="UniqueIdentifier" CanBeNull="true" />
|
---|
130 | <Column Name="SlaveId" Type="System.Guid" DbType="UniqueIdentifier" CanBeNull="true" />
|
---|
131 | <Column Name="Exception" Type="System.String" DbType="VarChar(MAX)" CanBeNull="false" />
|
---|
132 | <Association Name="Job_StateLog" Member="Job" ThisKey="JobId" OtherKey="JobId" Type="Job" IsForeignKey="true" />
|
---|
133 | <Association Name="Resource_StateLog" Member="Resource" ThisKey="SlaveId" OtherKey="ResourceId" Type="Resource" IsForeignKey="true" />
|
---|
134 | </Type>
|
---|
135 | </Table>
|
---|
136 | <Table Name="dbo.HiveExperimentPermission" Member="HiveExperimentPermissions">
|
---|
137 | <Type Name="HiveExperimentPermission">
|
---|
138 | <Column Name="HiveExperimentId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
|
---|
139 | <Column Name="GrantedUserId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" IsPrimaryKey="true" CanBeNull="false" />
|
---|
140 | <Column Name="GrantedByUserId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" CanBeNull="false" />
|
---|
141 | <Column Name="Permission" Type="global::HeuristicLab.Services.Hive.Common.DataTransfer.Permission" DbType="VarChar(15) NOT NULL" CanBeNull="false" />
|
---|
142 | <Association Name="HiveExperiment_HiveExperimentPermission" Member="HiveExperiment" ThisKey="HiveExperimentId" OtherKey="HiveExperimentId" Type="HiveExperiment" IsForeignKey="true" />
|
---|
143 | </Type>
|
---|
144 | </Table>
|
---|
145 | <Table Name="" Member="Lifecycles">
|
---|
146 | <Type Name="Lifecycle">
|
---|
147 | <Column Name="LifecycleId" Type="System.Int32" DbType="Int" IsPrimaryKey="true" CanBeNull="false" />
|
---|
148 | <Column Name="LastCleanup" Type="System.DateTime" DbType="DateTime" CanBeNull="false" />
|
---|
149 | </Type>
|
---|
150 | </Table>
|
---|
151 | </Database> |
---|