1 | <?xml version="1.0" encoding="utf-8"?>
|
---|
2 | <Database Name="HeuristicLab.Hive" Class="HiveDataContext" xmlns="http://schemas.microsoft.com/linqtosql/dbml/2007">
|
---|
3 | <Table Name="dbo.AssignedResources" Member="AssignedResources">
|
---|
4 | <Type Name="AssignedResource">
|
---|
5 | <Column Name="ResourceId" Member="ResourceId" DbType="UniqueIdentifier NOT NULL" Type="System.Guid"/>
|
---|
6 | <Column Name="JobId" Member="JobId" DbType="UniqueIdentifier NOT NULL" Type="System.Guid" />
|
---|
7 | <Column Name="AssignedRessourcesId" Member="AssignedRessourcesId" DbType="UniqueIdentifier NOT NULL" Type="System.Guid" IsPrimaryKey="true" IsDbGenerated="true" AutoSync="OnInsert" />
|
---|
8 | <Association Name="Resource_AssignedResource" Member="Resource" ThisKey="ResourceId" OtherKey="ResourceId" DeleteRule="CASCADE" IsForeignKey="true" Type="Resource"/>
|
---|
9 | <Association Name="Job_AssignedResource" Member="Job" ThisKey="JobId" OtherKey="JobId" DeleteRule="CASCADE" IsForeignKey="true" Type="Job"/>
|
---|
10 | </Type>
|
---|
11 | </Table>
|
---|
12 | <Table Name="dbo.UptimeStatistics" Member="UptimeStatistics">
|
---|
13 | <Type Name="UptimeStatistic">
|
---|
14 | <Column Name="UptimeStatisticsId" Member="UptimeStatisticsId" DbType="UniqueIdentifier NOT NULL" Type="System.Guid" IsPrimaryKey="true" IsDbGenerated="true" AutoSync="OnInsert" />
|
---|
15 | <Column Name="Login" Member="Login" DbType="DateTime" Type="System.DateTime" />
|
---|
16 | <Column Name="Logout" Member="Logout" DbType="DateTime" Type="System.DateTime" />
|
---|
17 | <Column Name="ResourceId" Member="ResourceId" DbType="UniqueIdentifier" Type="System.Guid" />
|
---|
18 | <Association Name="Slave_UptimeStatistic" Member="Slave" ThisKey="ResourceId" OtherKey="ResourceId" DeleteRule="SET NULL" IsForeignKey="true" Type="Slave"/>
|
---|
19 | </Type>
|
---|
20 | </Table>
|
---|
21 | <Table Name="dbo.SlaveConfig" Member="SlaveConfigs">
|
---|
22 | <Type Name="SlaveConfig">
|
---|
23 | <Column Name="SlaveConfigId" Member="SlaveConfigId" DbType="UniqueIdentifier NOT NULL" Type="System.Guid" IsPrimaryKey="true" IsDbGenerated="true" AutoSync="OnInsert" />
|
---|
24 | <Column Name="UpDownTimeCalendar" Member="UpDownTimeCalendar" DbType="Xml" UpdateCheck="Never" Type="System.Xml.Linq.XElement"/>
|
---|
25 | <Column Name="HeartBeatIntervall" Member="HeartBeatIntervall" DbType="Int" Type="System.Int32" CanBeNull="true"/>
|
---|
26 | <Association Name="SlaveConfig_Slave" Member="Slaves" ThisKey="SlaveConfigId" OtherKey="SlaveConfigId" Type="Slave"/>
|
---|
27 | </Type>
|
---|
28 | </Table>
|
---|
29 |
|
---|
30 | <Table Name="dbo.SlaveGroup_Resource" Member="SlaveGroup_Resources">
|
---|
31 | <Type Name="SlaveGroup_Resource">
|
---|
32 | <Column Name="SlaveGroup_RessourceId" Member="SlaveGroup_RessourceId" DbType="UniqueIdentifier NOT NULL" Type="System.Guid" IsPrimaryKey="true" IsDbGenerated="true" AutoSync="OnInsert" />
|
---|
33 | <Column Name="SlaveGroupId" Member="SlaveGroupId" DbType="UniqueIdentifier NOT NULL" Type="System.Guid" />
|
---|
34 | <Column Name="ResourceId" Member="ResourceId" DbType="UniqueIdentifier NOT NULL" Type="System.Guid" />
|
---|
35 |
|
---|
36 | <Association Name="SlaveGroup_SlaveGroup_Resource" Member="SlaveGroup" ThisKey="SlaveGroupId" OtherKey="ResourceId" IsForeignKey="true" Type="SlaveGroup" />
|
---|
37 | <Association Name="Resource_SlaveGroup_Resource" Member="Resource" ThisKey="ResourceId" OtherKey="ResourceId" DeleteRule="CASCADE" IsForeignKey="true" Type="Resource"/>
|
---|
38 | </Type>
|
---|
39 | </Table>
|
---|
40 | <Table Name="dbo.PluginInfo" Member="PluginInfos">
|
---|
41 | <Type Name="PluginInfo">
|
---|
42 | <Column Name="PluginId" Member="PluginId" DbType="UniqueIdentifier NOT NULL" Type="System.Guid" IsPrimaryKey="true" IsDbGenerated="true" AutoSync="OnInsert" />
|
---|
43 | <Column Name="Name" Member="Name" DbType="VarChar(MAX)" Type="System.String" />
|
---|
44 | <Column Name="Version" Member="Version" DbType="VarChar(MAX)" Type="System.String"/>
|
---|
45 | <Column Name="BuildDate" Member="BuildDate" DbType="VarChar(20)" Type="System.String" />
|
---|
46 | <Association Name="PluginInfo_RequiredPlugin" Member="RequiredPlugins" ThisKey="PluginId" OtherKey="PluginId" Type="RequiredPlugin"/>
|
---|
47 | </Type>
|
---|
48 | </Table>
|
---|
49 | <Table Name="dbo.Project" Member="Projects">
|
---|
50 | <Type Name="Project">
|
---|
51 | <Column Name="ProjectId" Member="ProjectId" DbType="UniqueIdentifier NOT NULL" Type="System.Guid" IsPrimaryKey="true" IsDbGenerated="true" AutoSync="OnInsert" />
|
---|
52 | <Column Name="Name" Member="Name" DbType="VarChar(MAX)" Type="System.String"/>
|
---|
53 | <Association Name="Project_Job" Member="Jobs" ThisKey="ProjectId" OtherKey="ProjectId" Type="Job" />
|
---|
54 | </Type>
|
---|
55 | </Table>
|
---|
56 | <Table Name="dbo.RequiredPlugins" Member="RequiredPlugins">
|
---|
57 | <Type Name="RequiredPlugin">
|
---|
58 | <Column Name="RequiredPluginId" Member="RequiredPluginId" DbType="UniqueIdentifier NOT NULL" Type="System.Guid" IsPrimaryKey="true" IsDbGenerated="true" UpdateCheck="Never" AutoSync="OnInsert" />
|
---|
59 | <Column Name="JobId" Member="JobId" DbType="UniqueIdentifier NOT NULL" Type="System.Guid" />
|
---|
60 | <Column Name="PluginId" Member="PluginId" DbType="UniqueIdentifier NOT NULL" Type="System.Guid" />
|
---|
61 | <Association Name="PluginInfo_RequiredPlugin" Member="PluginInfo" ThisKey="PluginId" OtherKey="PluginId" DeleteRule="CASCADE" IsForeignKey="true" Type="PluginInfo"/>
|
---|
62 | <Association Name="Job_RequiredPlugin" Member="Job" ThisKey="JobId" OtherKey="JobId" IsForeignKey="true" Type="Job"/>
|
---|
63 | </Type>
|
---|
64 | </Table>
|
---|
65 | <Table Name="dbo.Resource" Member="Resources">
|
---|
66 | <Type Name="Resource" InheritanceCode="RESOURCE">
|
---|
67 | <Column Name="ResourceId" Member="ResourceId" DbType="UniqueIdentifier NOT NULL" Type="System.Guid" IsPrimaryKey="true" AutoSync="OnInsert" />
|
---|
68 | <Column Name="Name" Member="Name" DbType="VarChar(MAX)" Type="System.String" />
|
---|
69 | <Column Name="ResourceType" Member="ResourceType" IsDiscriminator="true" Type="System.String"/>
|
---|
70 | <Association Name="Resource_AssignedResource" Member="AssignedResources" ThisKey="ResourceId" OtherKey="ResourceId" Type="AssignedResource"/>
|
---|
71 | <Association Name="Resource_SlaveGroup_Resource" Member="SlaveGroup_Resources_Parents" ThisKey="ResourceId" OtherKey="ResourceId" Type="SlaveGroup_Resource" />
|
---|
72 | <Association Name="Resource_UptimeCalendar" Member="UptimeCalendars" ThisKey="ResourceId" OtherKey="ResourceId" Type="UptimeCalendar" />
|
---|
73 | <Type Name="Slave" InheritanceCode="Slave" IsInheritanceDefault="true">
|
---|
74 | <Column Name="CPUSpeed" Member="CPUSpeed" DbType="Int" Type="System.Int32" CanBeNull="true"/>
|
---|
75 | <Column Name="Memory" Member="Memory" DbType="Int" Type="System.Int32" CanBeNull="true"/>
|
---|
76 | <Column Name="Login" Member="Login" DbType="DateTime" Type="System.DateTime" CanBeNull="true"/>
|
---|
77 | <Column Name="Status" Member="Status" DbType="VarChar(MAX)" Type="System.String" CanBeNull="true"/>
|
---|
78 | <Column Name="CalendarSyncStatus" Member="CalendarSyncStatus" DbType="VarChar(MAX)" Type="System.String" CanBeNull="true"/>
|
---|
79 | <Column Name="UseCalendarFromResourceId" Member="UseCalendarFromResourceId" DbType="UniqueIdentifier" Type="System.Guid" CanBeNull="true"/>
|
---|
80 | <Column Name="SlaveConfigId" Member="SlaveConfigId" DbType="UniqueIdentifier" Type="System.Guid" CanBeNull="true"/>
|
---|
81 | <Column Name="NumberOfCores" Member="NumberOfCores" DbType="Int" Type="System.Int32" CanBeNull="true"/>
|
---|
82 | <Column Name="NumberOfFreeCores" Member="NumberOfFreeCores" DbType="Int" Type="System.Int32" CanBeNull="true"/>
|
---|
83 | <Column Name="FreeMemory" Member="FreeMemory" DbType="Int" Type="System.Int32" CanBeNull="true"/>
|
---|
84 | <Column Name="IsAllowedToCalculate" Member="IsAllowedToCalculate" DbType="Bit" Type="System.Boolean"/>
|
---|
85 | <Association Name="Slave_UptimeStatistic" Member="UptimeStatistics" ThisKey="ResourceId" OtherKey="ResourceId" Type="UptimeStatistic"/>
|
---|
86 | <Association Name="Slave_Job" Member="Jobs" ThisKey="ResourceId" OtherKey="ResourceId" Type="Job" DeleteRule="SET NULL"/>
|
---|
87 | <Association Name="SlaveConfig_Slave" Member="SlaveConfig" ThisKey="SlaveConfigId" OtherKey="SlaveConfigId" DeleteRule="SET NULL" IsForeignKey="true" Type="SlaveConfig"/>
|
---|
88 | </Type>
|
---|
89 | <Type Name="SlaveGroup" InheritanceCode="GROUP" IsInheritanceDefault="false">
|
---|
90 | <Association Name="SlaveGroup_SlaveGroup_Resource" Member="SlaveGroup_Resources_Children" ThisKey="ResourceId" OtherKey="SlaveGroupId" Type="SlaveGroup_Resource" />
|
---|
91 | </Type>
|
---|
92 | </Type>
|
---|
93 | </Table>
|
---|
94 |
|
---|
95 | <Table Name="dbo.Job" Member="Jobs">
|
---|
96 | <Type Name="Job">
|
---|
97 | <Column Name="JobId" Member="JobId" DbType="UniqueIdentifier NOT NULL" Type="System.Guid" IsPrimaryKey="true" IsDbGenerated="true" AutoSync="OnInsert" />
|
---|
98 | <Column Name="ParentJobId" Member="ParentJobId" DbType="UniqueIdentifier" Type="System.Guid" CanBeNull="true" />
|
---|
99 | <Column Name="JobState" Member="JobState" DbType="VarChar(MAX)" Type="System.String"/>
|
---|
100 | <Column Name="ResourceId" Member="ResourceId" DbType="UniqueIdentifier" Type="System.Guid" CanBeNull="true"/>
|
---|
101 | <Column Name="Percentage" Member="Percentage" DbType="Float" Type="System.Double" CanBeNull="true"/>
|
---|
102 | <Column Name="Exception" Member="Exception" DbType="VarChar(MAX)" Type="System.String" CanBeNull="true"/>
|
---|
103 | <Column Name="SerializedJob" Member="SerializedJob" DbType="VarBinary(MAX)" UpdateCheck="Never" Type="System.Data.Linq.Binary" IsDelayLoaded="true"/>
|
---|
104 | <Column Name="DateCreated" Member="DateCreated" DbType="DateTime" Type="System.DateTime" CanBeNull="true"/>
|
---|
105 | <Column Name="DateCalculated" Member="DateCalculated" DbType="DateTime" Type="System.DateTime" CanBeNull="true"/>
|
---|
106 | <Column Name="DateFinished" Member="DateFinished" DbType="DateTime" Type="System.DateTime" CanBeNull="true"/>
|
---|
107 | <Column Name="Priority" Member="Priority" DbType="Int NOT NULL" Type="System.Int32"/>
|
---|
108 | <Column Name="ProjectId" Member="ProjectId" DbType="UniqueIdentifier" Type="System.Guid" CanBeNull="true"/>
|
---|
109 | <Column Name="UserId" Member="UserId" DbType="VarChar(MAX)" Type="System.String" CanBeNull="true"/>
|
---|
110 | <Column Name="CoresNeeded" Member="CoresNeeded" DbType="Int NOT NULL" Type="System.Int32"/>
|
---|
111 | <Column Name="MemoryNeeded" Member="MemoryNeeded" DbType="Int NOT NULL" Type="System.Int32"/>
|
---|
112 | <Association Name="Job_AssignedResource" Member="AssignedResources" ThisKey="JobId" OtherKey="JobId" Type="AssignedResource"/>
|
---|
113 | <Association Name="Job_RequiredPlugin" Member="RequiredPlugins" ThisKey="JobId" OtherKey="JobId" Type="RequiredPlugin" />
|
---|
114 | <Association Name="Job_Job" Member="Jobs" ThisKey="JobId" OtherKey="ParentJobId" Type="Job"/>
|
---|
115 | <Association Name="Job_Job" Member="Job1" ThisKey="ParentJobId" OtherKey="JobId" IsForeignKey="true" Type="Job" />
|
---|
116 | <Association Name="Project_Job" Member="Project" ThisKey="ProjectId" OtherKey="ProjectId" DeleteRule="SET NULL" IsForeignKey="true" Type="Project"/>
|
---|
117 | <Association Name="Slave_Job" Member="Slave" ThisKey="ResourceId" OtherKey="ResourceId" DeleteRule="SET NULL" IsForeignKey="true" Type="Slave"/>
|
---|
118 | </Type>
|
---|
119 | </Table>
|
---|
120 | <Table Name="dbo.UptimeCalendar" Member="UptimeCalendars">
|
---|
121 | <Type Name="UptimeCalendar">
|
---|
122 | <Column Name="UptimeCalendarId" Member="UptimeCalendarId" DbType="UniqueIdentifier NOT NULL" Type="System.Guid" IsPrimaryKey="true" IsDbGenerated="true" AutoSync="OnInsert" />
|
---|
123 | <Column Name="ResourceId" Member="ResourceId" DbType="UniqueIdentifier NOT NULL" Type="System.Guid" />
|
---|
124 | <Column Name="StartDate" Member="StartDate" DbType="DateTime NOT NULL" Type="System.DateTime" />
|
---|
125 | <Column Name="EndDate" Member="EndDate" DbType="DateTime NOT NULL" Type="System.DateTime"/>
|
---|
126 | <Column Name="AllDayEvent" Member="AllDayEvent" DbType="Bit NOT NULL" Type="System.Boolean"/>
|
---|
127 | <Column Name="Recurring" Member="Recurring" DbType="Bit NOT NULL" Type="System.Boolean"/>
|
---|
128 | <Column Name="RecurringId" Member="RecurringId" DbType="UniqueIdentifier" Type="System.Guid"/>
|
---|
129 | <Association Name="Resource_UptimeCalendar" Member="Resource" ThisKey="ResourceId" OtherKey="ResourceId" DeleteRule="CASCADE" IsForeignKey="true" Type="Resource"/>
|
---|
130 | </Type>
|
---|
131 | </Table>
|
---|
132 | </Database> |
---|