Changeset 4141 for branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.LINQDataAccess/3.3/HiveDataContext.cs
- Timestamp:
- 08/04/10 10:44:14 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.LINQDataAccess/3.3/HiveDataContext.cs
r3931 r4141 3 3 // <auto-generated> 4 4 // This code was generated by a tool. 5 // Runtime Version: 2.0.50727.49275 // Runtime Version:4.0.30319.1 6 6 // 7 7 // Changes to this file may cause incorrect behavior and will be lost if … … 23 23 24 24 25 [ System.Data.Linq.Mapping.DatabaseAttribute(Name="HeuristicLab.Hive.Linq.Test")]25 [global::System.Data.Linq.Mapping.DatabaseAttribute(Name="HeuristicLab.Hive")] 26 26 public partial class HiveDataContext : System.Data.Linq.DataContext 27 27 { … … 168 168 } 169 169 170 [ Table(Name="dbo.AssignedResources")]170 [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.AssignedResources")] 171 171 public partial class AssignedResource : INotifyPropertyChanging, INotifyPropertyChanged 172 172 { … … 203 203 } 204 204 205 [ Column(Storage="_ResourceId", DbType="UniqueIdentifier NOT NULL")]205 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResourceId", DbType="UniqueIdentifier NOT NULL")] 206 206 public System.Guid ResourceId 207 207 { … … 227 227 } 228 228 229 [ Column(Storage="_JobId", DbType="UniqueIdentifier NOT NULL")]229 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JobId", DbType="UniqueIdentifier NOT NULL")] 230 230 public System.Guid JobId 231 231 { … … 251 251 } 252 252 253 [ Column(Storage="_AssignedRessourcesId", AutoSync=AutoSync.OnInsert, DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true, IsDbGenerated=true)]253 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AssignedRessourcesId", AutoSync=AutoSync.OnInsert, DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true, IsDbGenerated=true)] 254 254 public System.Guid AssignedRessourcesId 255 255 { … … 271 271 } 272 272 273 [ Association(Name="Resource_AssignedResource", Storage="_Resource", ThisKey="ResourceId", OtherKey="ResourceId", IsForeignKey=true, DeleteRule="CASCADE")]273 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Resource_AssignedResource", Storage="_Resource", ThisKey="ResourceId", OtherKey="ResourceId", IsForeignKey=true, DeleteRule="CASCADE")] 274 274 public Resource Resource 275 275 { … … 305 305 } 306 306 307 [ Association(Name="Job_AssignedResource", Storage="_Job", ThisKey="JobId", OtherKey="JobId", IsForeignKey=true, DeleteRule="CASCADE")]307 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Job_AssignedResource", Storage="_Job", ThisKey="JobId", OtherKey="JobId", IsForeignKey=true, DeleteRule="CASCADE")] 308 308 public Job Job 309 309 { … … 360 360 } 361 361 362 [ Table(Name="dbo.UptimeStatistics")]362 [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.UptimeStatistics")] 363 363 public partial class UptimeStatistic : INotifyPropertyChanging, INotifyPropertyChanged 364 364 { … … 396 396 } 397 397 398 [ Column(Storage="_UptimeStatisticsId", AutoSync=AutoSync.OnInsert, DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true, IsDbGenerated=true)]398 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UptimeStatisticsId", AutoSync=AutoSync.OnInsert, DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true, IsDbGenerated=true)] 399 399 public System.Guid UptimeStatisticsId 400 400 { … … 416 416 } 417 417 418 [ Column(Storage="_Login", DbType="DateTime")]418 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Login", DbType="DateTime")] 419 419 public System.DateTime Login 420 420 { … … 436 436 } 437 437 438 [ Column(Storage="_Logout", DbType="DateTime")]438 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Logout", DbType="DateTime")] 439 439 public System.DateTime Logout 440 440 { … … 456 456 } 457 457 458 [ Column(Storage="_ResourceId", DbType="UniqueIdentifier")]458 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResourceId", DbType="UniqueIdentifier")] 459 459 public System.Guid ResourceId 460 460 { … … 480 480 } 481 481 482 [ Association(Name="Client_UptimeStatistic", Storage="_Client", ThisKey="ResourceId", OtherKey="ResourceId", IsForeignKey=true, DeleteRule="SET NULL")]482 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Client_UptimeStatistic", Storage="_Client", ThisKey="ResourceId", OtherKey="ResourceId", IsForeignKey=true, DeleteRule="SET NULL")] 483 483 public Client Client 484 484 { … … 535 535 } 536 536 537 [ Table(Name="dbo.ClientConfig")]537 [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ClientConfig")] 538 538 public partial class ClientConfig : INotifyPropertyChanging, INotifyPropertyChanged 539 539 { … … 567 567 } 568 568 569 [ Column(Storage="_ClientConfigId", AutoSync=AutoSync.OnInsert, DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true, IsDbGenerated=true)]569 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ClientConfigId", AutoSync=AutoSync.OnInsert, DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true, IsDbGenerated=true)] 570 570 public System.Guid ClientConfigId 571 571 { … … 587 587 } 588 588 589 [ Column(Storage="_UpDownTimeCalendar", DbType="Xml", UpdateCheck=UpdateCheck.Never)]589 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UpDownTimeCalendar", DbType="Xml", UpdateCheck=UpdateCheck.Never)] 590 590 public System.Xml.Linq.XElement UpDownTimeCalendar 591 591 { … … 607 607 } 608 608 609 [ Column(Storage="_HeartBeatIntervall", DbType="Int")]609 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HeartBeatIntervall", DbType="Int")] 610 610 public System.Nullable<int> HeartBeatIntervall 611 611 { … … 627 627 } 628 628 629 [ Association(Name="ClientConfig_Client", Storage="_Clients", ThisKey="ClientConfigId", OtherKey="ClientConfigId")]629 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="ClientConfig_Client", Storage="_Clients", ThisKey="ClientConfigId", OtherKey="ClientConfigId")] 630 630 public EntitySet<Client> Clients 631 631 { … … 673 673 } 674 674 675 [ Table(Name="dbo.ClientGroup_Resource")]675 [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.ClientGroup_Resource")] 676 676 public partial class ClientGroup_Resource : INotifyPropertyChanging, INotifyPropertyChanged 677 677 { … … 708 708 } 709 709 710 [ Column(Storage="_ClientGroup_RessourceId", AutoSync=AutoSync.OnInsert, DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true, IsDbGenerated=true)]710 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ClientGroup_RessourceId", AutoSync=AutoSync.OnInsert, DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true, IsDbGenerated=true)] 711 711 public System.Guid ClientGroup_RessourceId 712 712 { … … 728 728 } 729 729 730 [ Column(Storage="_ClientGroupId", DbType="UniqueIdentifier NOT NULL")]730 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ClientGroupId", DbType="UniqueIdentifier NOT NULL")] 731 731 public System.Guid ClientGroupId 732 732 { … … 752 752 } 753 753 754 [ Column(Storage="_ResourceId", DbType="UniqueIdentifier NOT NULL")]754 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResourceId", DbType="UniqueIdentifier NOT NULL")] 755 755 public System.Guid ResourceId 756 756 { … … 776 776 } 777 777 778 [ Association(Name="ClientGroup_ClientGroup_Resource", Storage="_ClientGroup", ThisKey="ClientGroupId", OtherKey="ResourceId", IsForeignKey=true)]778 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="ClientGroup_ClientGroup_Resource", Storage="_ClientGroup", ThisKey="ClientGroupId", OtherKey="ResourceId", IsForeignKey=true)] 779 779 public ClientGroup ClientGroup 780 780 { … … 810 810 } 811 811 812 [ Association(Name="Resource_ClientGroup_Resource", Storage="_Resource", ThisKey="ResourceId", OtherKey="ResourceId", IsForeignKey=true, DeleteRule="CASCADE")]812 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Resource_ClientGroup_Resource", Storage="_Resource", ThisKey="ResourceId", OtherKey="ResourceId", IsForeignKey=true, DeleteRule="CASCADE")] 813 813 public Resource Resource 814 814 { … … 865 865 } 866 866 867 [ Table(Name="dbo.PluginInfo")]867 [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PluginInfo")] 868 868 public partial class PluginInfo : INotifyPropertyChanging, INotifyPropertyChanged 869 869 { … … 901 901 } 902 902 903 [ Column(Storage="_PluginId", AutoSync=AutoSync.OnInsert, DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true, IsDbGenerated=true)]903 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PluginId", AutoSync=AutoSync.OnInsert, DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true, IsDbGenerated=true)] 904 904 public System.Guid PluginId 905 905 { … … 921 921 } 922 922 923 [ Column(Storage="_Name", DbType="VarChar(MAX)")]923 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="VarChar(MAX)")] 924 924 public string Name 925 925 { … … 941 941 } 942 942 943 [ Column(Storage="_Version", DbType="VarChar(MAX)")]943 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Version", DbType="VarChar(MAX)")] 944 944 public string Version 945 945 { … … 961 961 } 962 962 963 [ Column(Storage="_BuildDate", DbType="VarChar(20)")]963 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BuildDate", DbType="VarChar(20)")] 964 964 public string BuildDate 965 965 { … … 981 981 } 982 982 983 [ Association(Name="PluginInfo_RequiredPlugin", Storage="_RequiredPlugins", ThisKey="PluginId", OtherKey="PluginId")]983 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="PluginInfo_RequiredPlugin", Storage="_RequiredPlugins", ThisKey="PluginId", OtherKey="PluginId")] 984 984 public EntitySet<RequiredPlugin> RequiredPlugins 985 985 { … … 1027 1027 } 1028 1028 1029 [ Table(Name="dbo.Project")]1029 [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Project")] 1030 1030 public partial class Project : INotifyPropertyChanging, INotifyPropertyChanged 1031 1031 { … … 1055 1055 } 1056 1056 1057 [ Column(Storage="_ProjectId", AutoSync=AutoSync.OnInsert, DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true, IsDbGenerated=true)]1057 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", AutoSync=AutoSync.OnInsert, DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true, IsDbGenerated=true)] 1058 1058 public System.Guid ProjectId 1059 1059 { … … 1075 1075 } 1076 1076 1077 [ Column(Storage="_Name", DbType="VarChar(MAX)")]1077 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="VarChar(MAX)")] 1078 1078 public string Name 1079 1079 { … … 1095 1095 } 1096 1096 1097 [ Association(Name="Project_Job", Storage="_Jobs", ThisKey="ProjectId", OtherKey="ProjectId")]1097 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Project_Job", Storage="_Jobs", ThisKey="ProjectId", OtherKey="ProjectId")] 1098 1098 public EntitySet<Job> Jobs 1099 1099 { … … 1141 1141 } 1142 1142 1143 [ Table(Name="dbo.RequiredPlugins")]1143 [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.RequiredPlugins")] 1144 1144 public partial class RequiredPlugin : INotifyPropertyChanging, INotifyPropertyChanged 1145 1145 { … … 1176 1176 } 1177 1177 1178 [ Column(Storage="_RequiredPluginId", AutoSync=AutoSync.OnInsert, DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true, IsDbGenerated=true, UpdateCheck=UpdateCheck.Never)]1178 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RequiredPluginId", AutoSync=AutoSync.OnInsert, DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true, IsDbGenerated=true, UpdateCheck=UpdateCheck.Never)] 1179 1179 public System.Guid RequiredPluginId 1180 1180 { … … 1196 1196 } 1197 1197 1198 [ Column(Storage="_JobId", DbType="UniqueIdentifier NOT NULL")]1198 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JobId", DbType="UniqueIdentifier NOT NULL")] 1199 1199 public System.Guid JobId 1200 1200 { … … 1220 1220 } 1221 1221 1222 [ Column(Storage="_PluginId", DbType="UniqueIdentifier NOT NULL")]1222 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PluginId", DbType="UniqueIdentifier NOT NULL")] 1223 1223 public System.Guid PluginId 1224 1224 { … … 1244 1244 } 1245 1245 1246 [ Association(Name="PluginInfo_RequiredPlugin", Storage="_PluginInfo", ThisKey="PluginId", OtherKey="PluginId", IsForeignKey=true, DeleteRule="CASCADE")]1246 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="PluginInfo_RequiredPlugin", Storage="_PluginInfo", ThisKey="PluginId", OtherKey="PluginId", IsForeignKey=true, DeleteRule="CASCADE")] 1247 1247 public PluginInfo PluginInfo 1248 1248 { … … 1278 1278 } 1279 1279 1280 [ Association(Name="Job_RequiredPlugin", Storage="_Job", ThisKey="JobId", OtherKey="JobId", IsForeignKey=true)]1280 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Job_RequiredPlugin", Storage="_Job", ThisKey="JobId", OtherKey="JobId", IsForeignKey=true)] 1281 1281 public Job Job 1282 1282 { … … 1333 1333 } 1334 1334 1335 [ Table(Name="dbo.Resource")]1336 [ InheritanceMapping(Code="RESOURCE", Type=typeof(Resource))]1337 [ InheritanceMapping(Code="CLIENT", Type=typeof(Client), IsDefault=true)]1338 [ InheritanceMapping(Code="GROUP", Type=typeof(ClientGroup))]1335 [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Resource")] 1336 [global::System.Data.Linq.Mapping.InheritanceMappingAttribute(Code="RESOURCE", Type=typeof(Resource))] 1337 [global::System.Data.Linq.Mapping.InheritanceMappingAttribute(Code="CLIENT", Type=typeof(Client), IsDefault=true)] 1338 [global::System.Data.Linq.Mapping.InheritanceMappingAttribute(Code="GROUP", Type=typeof(ClientGroup))] 1339 1339 public partial class Resource : INotifyPropertyChanging, INotifyPropertyChanged 1340 1340 { … … 1374 1374 } 1375 1375 1376 [ Column(Storage="_ResourceId", AutoSync=AutoSync.OnInsert, DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true)]1376 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResourceId", AutoSync=AutoSync.OnInsert, DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true)] 1377 1377 public System.Guid ResourceId 1378 1378 { … … 1394 1394 } 1395 1395 1396 [ Column(Storage="_Name", DbType="VarChar(MAX)")]1396 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="VarChar(MAX)")] 1397 1397 public string Name 1398 1398 { … … 1414 1414 } 1415 1415 1416 [ Column(Storage="_ResourceType", IsDiscriminator=true)]1416 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResourceType", IsDiscriminator=true)] 1417 1417 public string ResourceType 1418 1418 { … … 1434 1434 } 1435 1435 1436 [ Association(Name="Resource_AssignedResource", Storage="_AssignedResources", ThisKey="ResourceId", OtherKey="ResourceId")]1436 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Resource_AssignedResource", Storage="_AssignedResources", ThisKey="ResourceId", OtherKey="ResourceId")] 1437 1437 public EntitySet<AssignedResource> AssignedResources 1438 1438 { … … 1447 1447 } 1448 1448 1449 [ Association(Name="Resource_ClientGroup_Resource", Storage="_ClientGroup_Resources_Parents", ThisKey="ResourceId", OtherKey="ResourceId")]1449 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Resource_ClientGroup_Resource", Storage="_ClientGroup_Resources_Parents", ThisKey="ResourceId", OtherKey="ResourceId")] 1450 1450 public EntitySet<ClientGroup_Resource> ClientGroup_Resources_Parents 1451 1451 { … … 1460 1460 } 1461 1461 1462 [ Association(Name="Resource_UptimeCalendar", Storage="_UptimeCalendars", ThisKey="ResourceId", OtherKey="ResourceId")]1462 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Resource_UptimeCalendar", Storage="_UptimeCalendars", ThisKey="ResourceId", OtherKey="ResourceId")] 1463 1463 public EntitySet<UptimeCalendar> UptimeCalendars 1464 1464 { … … 1593 1593 } 1594 1594 1595 [ Column(Storage="_CPUSpeed", DbType="Int")]1595 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CPUSpeed", DbType="Int")] 1596 1596 public System.Nullable<int> CPUSpeed 1597 1597 { … … 1613 1613 } 1614 1614 1615 [ Column(Storage="_Memory", DbType="Int")]1615 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Memory", DbType="Int")] 1616 1616 public System.Nullable<int> Memory 1617 1617 { … … 1633 1633 } 1634 1634 1635 [ Column(Storage="_Login", DbType="DateTime")]1635 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Login", DbType="DateTime")] 1636 1636 public System.Nullable<System.DateTime> Login 1637 1637 { … … 1653 1653 } 1654 1654 1655 [ Column(Storage="_Status", DbType="VarChar(MAX)")]1655 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="VarChar(MAX)")] 1656 1656 public string Status 1657 1657 { … … 1673 1673 } 1674 1674 1675 [ Column(Storage="_CalendarSyncStatus", DbType="VarChar(MAX)")]1675 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CalendarSyncStatus", DbType="VarChar(MAX)")] 1676 1676 public string CalendarSyncStatus 1677 1677 { … … 1693 1693 } 1694 1694 1695 [ Column(Storage="_UseCalendarFromResourceId", DbType="UniqueIdentifier")]1695 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UseCalendarFromResourceId", DbType="UniqueIdentifier")] 1696 1696 public System.Nullable<System.Guid> UseCalendarFromResourceId 1697 1697 { … … 1713 1713 } 1714 1714 1715 [ Column(Storage="_ClientConfigId", DbType="UniqueIdentifier")]1715 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ClientConfigId", DbType="UniqueIdentifier")] 1716 1716 public System.Nullable<System.Guid> ClientConfigId 1717 1717 { … … 1737 1737 } 1738 1738 1739 [ Column(Storage="_NumberOfCores", DbType="Int")]1739 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NumberOfCores", DbType="Int")] 1740 1740 public System.Nullable<int> NumberOfCores 1741 1741 { … … 1757 1757 } 1758 1758 1759 [ Column(Storage="_NumberOfFreeCores", DbType="Int")]1759 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_NumberOfFreeCores", DbType="Int")] 1760 1760 public System.Nullable<int> NumberOfFreeCores 1761 1761 { … … 1777 1777 } 1778 1778 1779 [ Column(Storage="_FreeMemory", DbType="Int")]1779 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FreeMemory", DbType="Int")] 1780 1780 public System.Nullable<int> FreeMemory 1781 1781 { … … 1797 1797 } 1798 1798 1799 [ Association(Name="Client_UptimeStatistic", Storage="_UptimeStatistics", ThisKey="ResourceId", OtherKey="ResourceId")]1799 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Client_UptimeStatistic", Storage="_UptimeStatistics", ThisKey="ResourceId", OtherKey="ResourceId")] 1800 1800 public EntitySet<UptimeStatistic> UptimeStatistics 1801 1801 { … … 1810 1810 } 1811 1811 1812 [ Association(Name="Client_Job", Storage="_Jobs", ThisKey="ResourceId", OtherKey="ResourceId", DeleteRule="SET NULL")]1812 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Client_Job", Storage="_Jobs", ThisKey="ResourceId", OtherKey="ResourceId", DeleteRule="SET NULL")] 1813 1813 public EntitySet<Job> Jobs 1814 1814 { … … 1823 1823 } 1824 1824 1825 [ Association(Name="ClientConfig_Client", Storage="_ClientConfig", ThisKey="ClientConfigId", OtherKey="ClientConfigId", IsForeignKey=true, DeleteRule="SET NULL")]1825 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="ClientConfig_Client", Storage="_ClientConfig", ThisKey="ClientConfigId", OtherKey="ClientConfigId", IsForeignKey=true, DeleteRule="SET NULL")] 1826 1826 public ClientConfig ClientConfig 1827 1827 { … … 1899 1899 } 1900 1900 1901 [ Association(Name="ClientGroup_ClientGroup_Resource", Storage="_ClientGroup_Resources_Children", ThisKey="ResourceId", OtherKey="ClientGroupId")]1901 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="ClientGroup_ClientGroup_Resource", Storage="_ClientGroup_Resources_Children", ThisKey="ResourceId", OtherKey="ClientGroupId")] 1902 1902 public EntitySet<ClientGroup_Resource> ClientGroup_Resources_Children 1903 1903 { … … 1925 1925 } 1926 1926 1927 [ Table(Name="dbo.Job")]1927 [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Job")] 1928 1928 public partial class Job : INotifyPropertyChanging, INotifyPropertyChanged 1929 1929 { … … 1940 1940 1941 1941 private System.Nullable<double> _Percentage; 1942 1943 private string _Exception; 1942 1944 1943 1945 private System.Data.Linq.Link<System.Data.Linq.Binary> _SerializedJob; … … 1985 1987 partial void OnPercentageChanging(System.Nullable<double> value); 1986 1988 partial void OnPercentageChanged(); 1989 partial void OnExceptionChanging(string value); 1990 partial void OnExceptionChanged(); 1987 1991 partial void OnSerializedJobChanging(System.Data.Linq.Binary value); 1988 1992 partial void OnSerializedJobChanged(); … … 2016 2020 } 2017 2021 2018 [ Column(Storage="_JobId", AutoSync=AutoSync.OnInsert, DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true, IsDbGenerated=true)]2022 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JobId", AutoSync=AutoSync.OnInsert, DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true, IsDbGenerated=true)] 2019 2023 public System.Guid JobId 2020 2024 { … … 2036 2040 } 2037 2041 2038 [ Column(Storage="_ParentJobId", DbType="UniqueIdentifier")]2042 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ParentJobId", DbType="UniqueIdentifier")] 2039 2043 public System.Nullable<System.Guid> ParentJobId 2040 2044 { … … 2060 2064 } 2061 2065 2062 [ Column(Storage="_JobState", DbType="VarChar(MAX)")]2066 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JobState", DbType="VarChar(MAX)")] 2063 2067 public string JobState 2064 2068 { … … 2080 2084 } 2081 2085 2082 [ Column(Storage="_ResourceId", DbType="UniqueIdentifier")]2086 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResourceId", DbType="UniqueIdentifier")] 2083 2087 public System.Nullable<System.Guid> ResourceId 2084 2088 { … … 2104 2108 } 2105 2109 2106 [ Column(Storage="_Percentage", DbType="Float")]2110 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Percentage", DbType="Float")] 2107 2111 public System.Nullable<double> Percentage 2108 2112 { … … 2124 2128 } 2125 2129 2126 [Column(Storage="_SerializedJob", DbType="VarBinary(MAX)", UpdateCheck=UpdateCheck.Never)] 2130 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Exception", DbType="VarChar(MAX)")] 2131 public string Exception 2132 { 2133 get 2134 { 2135 return this._Exception; 2136 } 2137 set 2138 { 2139 if ((this._Exception != value)) 2140 { 2141 this.OnExceptionChanging(value); 2142 this.SendPropertyChanging(); 2143 this._Exception = value; 2144 this.SendPropertyChanged("Exception"); 2145 this.OnExceptionChanged(); 2146 } 2147 } 2148 } 2149 2150 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SerializedJob", DbType="VarBinary(MAX)", UpdateCheck=UpdateCheck.Never)] 2127 2151 public System.Data.Linq.Binary SerializedJob 2128 2152 { … … 2144 2168 } 2145 2169 2146 [ Column(Storage="_DateCreated", DbType="DateTime")]2170 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DateCreated", DbType="DateTime")] 2147 2171 public System.Nullable<System.DateTime> DateCreated 2148 2172 { … … 2164 2188 } 2165 2189 2166 [ Column(Storage="_DateCalculated", DbType="DateTime")]2190 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DateCalculated", DbType="DateTime")] 2167 2191 public System.Nullable<System.DateTime> DateCalculated 2168 2192 { … … 2184 2208 } 2185 2209 2186 [ Column(Storage="_DateFinished", DbType="DateTime")]2210 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DateFinished", DbType="DateTime")] 2187 2211 public System.Nullable<System.DateTime> DateFinished 2188 2212 { … … 2204 2228 } 2205 2229 2206 [ Column(Storage="_Priority", DbType="Int NOT NULL")]2230 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Priority", DbType="Int NOT NULL")] 2207 2231 public int Priority 2208 2232 { … … 2224 2248 } 2225 2249 2226 [ Column(Storage="_ProjectId", DbType="UniqueIdentifier")]2250 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="UniqueIdentifier")] 2227 2251 public System.Nullable<System.Guid> ProjectId 2228 2252 { … … 2248 2272 } 2249 2273 2250 [ Column(Storage="_UserId", DbType="UniqueIdentifier")]2274 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="UniqueIdentifier")] 2251 2275 public System.Nullable<System.Guid> UserId 2252 2276 { … … 2268 2292 } 2269 2293 2270 [ Column(Storage="_CoresNeeded", DbType="Int NOT NULL")]2294 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CoresNeeded", DbType="Int NOT NULL")] 2271 2295 public int CoresNeeded 2272 2296 { … … 2288 2312 } 2289 2313 2290 [ Column(Storage="_MemoryNeeded", DbType="Int NOT NULL")]2314 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MemoryNeeded", DbType="Int NOT NULL")] 2291 2315 public int MemoryNeeded 2292 2316 { … … 2308 2332 } 2309 2333 2310 [ Association(Name="Job_AssignedResource", Storage="_AssignedResources", ThisKey="JobId", OtherKey="JobId")]2334 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Job_AssignedResource", Storage="_AssignedResources", ThisKey="JobId", OtherKey="JobId")] 2311 2335 public EntitySet<AssignedResource> AssignedResources 2312 2336 { … … 2321 2345 } 2322 2346 2323 [ Association(Name="Job_RequiredPlugin", Storage="_RequiredPlugins", ThisKey="JobId", OtherKey="JobId")]2347 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Job_RequiredPlugin", Storage="_RequiredPlugins", ThisKey="JobId", OtherKey="JobId")] 2324 2348 public EntitySet<RequiredPlugin> RequiredPlugins 2325 2349 { … … 2334 2358 } 2335 2359 2336 [ Association(Name="Job_Job", Storage="_Jobs", ThisKey="JobId", OtherKey="ParentJobId")]2360 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Job_Job", Storage="_Jobs", ThisKey="JobId", OtherKey="ParentJobId")] 2337 2361 public EntitySet<Job> Jobs 2338 2362 { … … 2347 2371 } 2348 2372 2349 [ Association(Name="Job_Job", Storage="_Job1", ThisKey="ParentJobId", OtherKey="JobId", IsForeignKey=true)]2373 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Job_Job", Storage="_Job1", ThisKey="ParentJobId", OtherKey="JobId", IsForeignKey=true)] 2350 2374 public Job Job1 2351 2375 { … … 2381 2405 } 2382 2406 2383 [ Association(Name="Project_Job", Storage="_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true, DeleteRule="SET NULL")]2407 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Project_Job", Storage="_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true, DeleteRule="SET NULL")] 2384 2408 public Project Project 2385 2409 { … … 2415 2439 } 2416 2440 2417 [ Association(Name="Client_Job", Storage="_Client", ThisKey="ResourceId", OtherKey="ResourceId", IsForeignKey=true, DeleteRule="SET NULL")]2441 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Client_Job", Storage="_Client", ThisKey="ResourceId", OtherKey="ResourceId", IsForeignKey=true, DeleteRule="SET NULL")] 2418 2442 public Client Client 2419 2443 { … … 2506 2530 } 2507 2531 2508 [ Table(Name="dbo.UptimeCalendar")]2532 [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.UptimeCalendar")] 2509 2533 public partial class UptimeCalendar : INotifyPropertyChanging, INotifyPropertyChanged 2510 2534 { … … 2554 2578 } 2555 2579 2556 [ Column(Storage="_UptimeCalendarId", AutoSync=AutoSync.OnInsert, DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true, IsDbGenerated=true)]2580 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UptimeCalendarId", AutoSync=AutoSync.OnInsert, DbType="UniqueIdentifier NOT NULL", IsPrimaryKey=true, IsDbGenerated=true)] 2557 2581 public System.Guid UptimeCalendarId 2558 2582 { … … 2574 2598 } 2575 2599 2576 [ Column(Storage="_ResourceId", DbType="UniqueIdentifier NOT NULL")]2600 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResourceId", DbType="UniqueIdentifier NOT NULL")] 2577 2601 public System.Guid ResourceId 2578 2602 { … … 2598 2622 } 2599 2623 2600 [ Column(Storage="_StartDate", DbType="DateTime NOT NULL")]2624 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StartDate", DbType="DateTime NOT NULL")] 2601 2625 public System.DateTime StartDate 2602 2626 { … … 2618 2642 } 2619 2643 2620 [ Column(Storage="_EndDate", DbType="DateTime NOT NULL")]2644 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EndDate", DbType="DateTime NOT NULL")] 2621 2645 public System.DateTime EndDate 2622 2646 { … … 2638 2662 } 2639 2663 2640 [ Column(Storage="_AllDayEvent", DbType="Bit NOT NULL")]2664 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AllDayEvent", DbType="Bit NOT NULL")] 2641 2665 public bool AllDayEvent 2642 2666 { … … 2658 2682 } 2659 2683 2660 [ Column(Storage="_Recurring", DbType="Bit NOT NULL")]2684 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Recurring", DbType="Bit NOT NULL")] 2661 2685 public bool Recurring 2662 2686 { … … 2678 2702 } 2679 2703 2680 [ Column(Storage="_RecurringId", DbType="UniqueIdentifier")]2704 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RecurringId", DbType="UniqueIdentifier")] 2681 2705 public System.Guid RecurringId 2682 2706 { … … 2698 2722 } 2699 2723 2700 [ Association(Name="Resource_UptimeCalendar", Storage="_Resource", ThisKey="ResourceId", OtherKey="ResourceId", IsForeignKey=true, DeleteRule="CASCADE")]2724 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Resource_UptimeCalendar", Storage="_Resource", ThisKey="ResourceId", OtherKey="ResourceId", IsForeignKey=true, DeleteRule="CASCADE")] 2701 2725 public Resource Resource 2702 2726 {
Note: See TracChangeset
for help on using the changeset viewer.