Changeset 6768
- Timestamp:
- 09/15/11 15:31:39 (13 years ago)
- Location:
- branches/HeuristicLab.Hive-3.4/sources
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.3/ServiceClients/HiveServiceClient.cs
r6743 r6768 59 59 60 60 public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; 61 61 62 } 62 63 … … 711 712 712 713 [System.Runtime.Serialization.OptionalFieldAttribute()] 713 private System.Nullable<System.DateTime> LastAccessedField;714 715 [System.Runtime.Serialization.OptionalFieldAttribute()]716 714 private System.Guid OwnerUserIdField; 717 715 … … 773 771 this.JobCountField = value; 774 772 this.RaisePropertyChanged("JobCount"); 775 }776 }777 }778 779 [System.Runtime.Serialization.DataMemberAttribute()]780 public System.Nullable<System.DateTime> LastAccessed {781 get {782 return this.LastAccessedField;783 }784 set {785 if ((this.LastAccessedField.Equals(value) != true)) {786 this.LastAccessedField = value;787 this.RaisePropertyChanged("LastAccessed");788 773 } 789 774 } -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.3/ServiceClients/Job.cs
r6756 r6768 45 45 this.DateCreated = original.DateCreated; 46 46 this.ResourceNames = original.ResourceNames; 47 this.LastAccessed = original.LastAccessed;48 47 this.Name = original.Name; 49 48 this.Description = original.Description; -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.DataAccess/3.3/HiveDataContext.dbml
r6723 r6768 79 79 <Association Name="Task_StateLog" Member="StateLogs" ThisKey="TaskId" OtherKey="TaskId" Type="StateLog" /> 80 80 <Association Name="Task_Task" Member="ParentJob" Storage="_Job1" ThisKey="ParentTaskId" OtherKey="TaskId" Type="Task" IsForeignKey="true" /> 81 <Association Name=" HiveExperiment_Task" Member="Job" Storage="_HiveExperiment" ThisKey="JobId" OtherKey="JobId" Type="Job" IsForeignKey="true" />81 <Association Name="Job_Task" Member="Job" Storage="_HiveExperiment" ThisKey="JobId" OtherKey="JobId" Type="Job" IsForeignKey="true" /> 82 82 </Type> 83 83 </Table> … … 102 102 <Column Name="OwnerUserId" Storage="_UserId" Type="System.Guid" DbType="UniqueIdentifier" CanBeNull="false" /> 103 103 <Column Name="DateCreated" Type="System.DateTime" DbType="DateTime" CanBeNull="false" /> 104 <Column Name="LastAccessed" Type="System.DateTime" DbType="DateTime" CanBeNull="true" /> 105 <Column Name="IsHiveEngine" Type="System.Boolean" DbType="Bit" CanBeNull="false" /> 106 <Association Name="HiveExperiment_Task" Member="Tasks" Storage="_Jobs" ThisKey="JobId" OtherKey="JobId" Type="Task" /> 107 <Association Name="HiveExperiment_HiveExperimentPermission" Member="JobPermissions" Storage="_HiveExperimentPermissions" ThisKey="JobId" OtherKey="JobId" Type="JobPermission" /> 104 <Association Name="Job_Task" Member="Tasks" Storage="_Jobs" ThisKey="JobId" OtherKey="JobId" Type="Task" /> 105 <Association Name="Job_JobPermission" Member="JobPermissions" Storage="_HiveExperimentPermissions" ThisKey="JobId" OtherKey="JobId" Type="JobPermission" /> 108 106 </Type> 109 107 </Table> … … 144 142 <Column Name="GrantedByUserId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" CanBeNull="false" /> 145 143 <Column Name="Permission" Type="global::HeuristicLab.Services.Hive.DataAccess.Permission" DbType="VarChar(15) NOT NULL" CanBeNull="false" /> 146 <Association Name=" HiveExperiment_HiveExperimentPermission" Member="Job" Storage="_HiveExperiment" ThisKey="JobId" OtherKey="JobId" Type="Job" IsForeignKey="true" />144 <Association Name="Job_JobPermission" Member="Job" Storage="_HiveExperiment" ThisKey="JobId" OtherKey="JobId" Type="Job" IsForeignKey="true" /> 147 145 </Type> 148 146 </Table> -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.DataAccess/3.3/HiveDataContext.dbml.layout
r6723 r6768 39 39 </nestedChildShapes> 40 40 </classShape> 41 <classShape Id="e6f840cc-2968-4be1-b234-eef624ccacbb" absoluteBounds="4.125, 2.625, 2, 2.3478011067708326">41 <classShape Id="e6f840cc-2968-4be1-b234-eef624ccacbb" absoluteBounds="4.125, 2.625, 2, 1.9631982421874996"> 42 42 <DataClassMoniker Name="/HiveDataContext/Job" /> 43 43 <nestedChildShapes> 44 <elementListCompartment Id="0c65d4e1-256a-4a91-9a57-392f25e4de7f" absoluteBounds="4.1400000000000006, 3.0850000000000009, 1.9700000000000002, 1. 7878011067708333" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />44 <elementListCompartment Id="0c65d4e1-256a-4a91-9a57-392f25e4de7f" absoluteBounds="4.1400000000000006, 3.0850000000000009, 1.9700000000000002, 1.4031982421875" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 45 45 </nestedChildShapes> 46 46 </classShape> … … 128 128 </nodes> 129 129 </associationConnector> 130 <associationConnector edgePoints="[(4.125 : 4.29890055338542); (3.75 : 4.29890055338542)]" fixedFrom="NotFixed" fixedTo="NotFixed"> 131 <AssociationMoniker Name="/HiveDataContext/Job/HiveExperiment_HiveExperimentPermission" /> 130 <classShape Id="b4e7aaa8-a382-4560-a1fd-498de77e9340" absoluteBounds="1.75, 5.5, 2, 1.1939925130208327"> 131 <DataClassMoniker Name="/HiveDataContext/Lifecycle" /> 132 <nestedChildShapes> 133 <elementListCompartment Id="03597a2c-5c5d-4c2c-b741-c49ab5aa34d5" absoluteBounds="1.7650000000000001, 5.96, 1.9700000000000002, 0.63399251302083326" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 134 </nestedChildShapes> 135 </classShape> 136 <classShape Id="cdddf4da-eaef-46a1-9cfd-987bb6b3d03e" absoluteBounds="17, 3.125, 2.5, 1.7708968098958327"> 137 <DataClassMoniker Name="/HiveDataContext/DeletedJobStatistics" /> 138 <nestedChildShapes> 139 <elementListCompartment Id="b8738381-f696-4dba-a517-47e9cd96a9a6" absoluteBounds="17.015, 3.585, 2.4699999999999998, 1.2108968098958333" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 140 </nestedChildShapes> 141 </classShape> 142 <classShape Id="25442617-ff41-49a0-b5d5-4cbe0b2f0f45" absoluteBounds="22, 4.5, 2, 1.9631982421874996"> 143 <DataClassMoniker Name="/HiveDataContext/UserStatistics" /> 144 <nestedChildShapes> 145 <elementListCompartment Id="6edf08e7-054a-4253-8d4f-5bf2dfec2d29" absoluteBounds="22.015, 4.96, 1.9700000000000002, 1.4031982421875" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 146 </nestedChildShapes> 147 </classShape> 148 <classShape Id="f78ec989-4862-4bac-87e3-9b0aad4bc037" absoluteBounds="19.875, 4.5, 2, 2.1554996744791666"> 149 <DataClassMoniker Name="/HiveDataContext/SlaveStatistics" /> 150 <nestedChildShapes> 151 <elementListCompartment Id="98cb46fe-820e-4041-aee8-04e8bed3df23" absoluteBounds="19.89, 4.96, 1.9700000000000002, 1.5954996744791665" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 152 </nestedChildShapes> 153 </classShape> 154 <classShape Id="4d9f0606-b7ee-4dae-a8ac-aff88d25a941" absoluteBounds="21, 3, 2, 1.1939925130208327"> 155 <DataClassMoniker Name="/HiveDataContext/Statistics" /> 156 <nestedChildShapes> 157 <elementListCompartment Id="17821282-8edf-40b7-9065-84f53391d5c1" absoluteBounds="21.015, 3.46, 1.9700000000000002, 0.63399251302083326" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 158 </nestedChildShapes> 159 </classShape> 160 <associationConnector edgePoints="[(21.4375 : 4.19399251302083); (21.4375 : 4.5)]" fixedFrom="NotFixed" fixedTo="NotFixed"> 161 <AssociationMoniker Name="/HiveDataContext/Statistics/Statistics_SlaveStatistics" /> 162 <nodes> 163 <classShapeMoniker Id="4d9f0606-b7ee-4dae-a8ac-aff88d25a941" /> 164 <classShapeMoniker Id="f78ec989-4862-4bac-87e3-9b0aad4bc037" /> 165 </nodes> 166 </associationConnector> 167 <associationConnector edgePoints="[(22.5 : 4.19399251302083); (22.5 : 4.5)]" fixedFrom="NotFixed" fixedTo="NotFixed"> 168 <AssociationMoniker Name="/HiveDataContext/Statistics/Statistics_UserStatistics" /> 169 <nodes> 170 <classShapeMoniker Id="4d9f0606-b7ee-4dae-a8ac-aff88d25a941" /> 171 <classShapeMoniker Id="25442617-ff41-49a0-b5d5-4cbe0b2f0f45" /> 172 </nodes> 173 </associationConnector> 174 <associationConnector edgePoints="[(12.781252 : 2.57859537760417); (12.781252 : 3.64829952604167); (13.5 : 3.64829952604167)]" fixedFrom="NotFixed" fixedTo="NotFixed"> 175 <AssociationMoniker Name="/HiveDataContext/Resource/Resource_Downtime" /> 176 <nodes> 177 <classShapeMoniker Id="706a4581-6daf-4e71-ae2a-87d50b27a051" /> 178 <classShapeMoniker Id="8d5712f7-7a1a-4a89-bd4d-fd60200d3306" /> 179 </nodes> 180 </associationConnector> 181 <associationConnector edgePoints="[(7.5 : 4.30930826822917); (7.5 : 4.751650890625); (7.97916666666667 : 4.751650890625 : JumpStart); (8.14583333333333 : 4.751650890625 : JumpEnd); (8.875 : 4.751650890625)]" fixedFrom="NotFixed" fixedTo="NotFixed"> 182 <AssociationMoniker Name="/HiveDataContext/Task/Task_AssignedResource" /> 183 <nodes> 184 <classShapeMoniker Id="695bfc39-59f3-4e60-8644-f847964bf62c" /> 185 <classShapeMoniker Id="a929c9dc-69f4-4488-ba1c-a2342bf81d89" /> 186 </nodes> 187 </associationConnector> 188 <associationConnector edgePoints="[(8.0625 : 4.30930826822917); (8.0625 : 5.5)]" fixedFrom="NotFixed" fixedTo="NotFixed"> 189 <AssociationMoniker Name="/HiveDataContext/Task/Task_RequiredPlugin" /> 190 <nodes> 191 <classShapeMoniker Id="695bfc39-59f3-4e60-8644-f847964bf62c" /> 192 <classShapeMoniker Id="97b00810-fa30-457e-b484-b4e80b22f91b" /> 193 </nodes> 194 </associationConnector> 195 <associationConnector edgePoints="[(7.20923076923077 : 1); (7.20923076923077 : 0.875); (7.80461538461539 : 0.875); (7.80461538461539 : 1)]" fixedFrom="NotFixed" fixedTo="NotFixed"> 196 <AssociationMoniker Name="/HiveDataContext/Task/Task_Task" /> 197 <nodes> 198 <classShapeMoniker Id="695bfc39-59f3-4e60-8644-f847964bf62c" /> 199 <classShapeMoniker Id="695bfc39-59f3-4e60-8644-f847964bf62c" /> 200 </nodes> 201 </associationConnector> 202 <associationConnector edgePoints="[(6.5 : 1.69314697265625); (6.125 : 1.69314697265625)]" fixedFrom="NotFixed" fixedTo="NotFixed"> 203 <AssociationMoniker Name="/HiveDataContext/Task/Task_TaskData" /> 204 <nodes> 205 <classShapeMoniker Id="695bfc39-59f3-4e60-8644-f847964bf62c" /> 206 <classShapeMoniker Id="6bc13f26-f9a8-4597-b054-35be34190d12" /> 207 </nodes> 208 </associationConnector> 209 <associationConnector edgePoints="[(6.5 : 2.50564697265625); (3.75 : 2.50564697265625)]" fixedFrom="Algorithm" fixedTo="Algorithm"> 210 <AssociationMoniker Name="/HiveDataContext/Task/Task_StateLog" /> 211 <nodes> 212 <classShapeMoniker Id="695bfc39-59f3-4e60-8644-f847964bf62c" /> 213 <classShapeMoniker Id="00352397-340e-449a-8e23-6ddd216e8617" /> 214 </nodes> 215 </associationConnector> 216 <associationConnector edgePoints="[(6.125 : 3.46715413411458); (6.5 : 3.46715413411458)]" fixedFrom="Algorithm" fixedTo="Algorithm"> 217 <AssociationMoniker Name="/HiveDataContext/Job/Job_Task" /> 218 <nodes> 219 <classShapeMoniker Id="e6f840cc-2968-4be1-b234-eef624ccacbb" /> 220 <classShapeMoniker Id="695bfc39-59f3-4e60-8644-f847964bf62c" /> 221 </nodes> 222 </associationConnector> 223 <associationConnector edgePoints="[(4.125 : 4.10659912109375); (3.75 : 4.10659912109375)]" fixedFrom="Algorithm" fixedTo="Algorithm"> 224 <AssociationMoniker Name="/HiveDataContext/Job/Job_JobPermission" /> 132 225 <nodes> 133 226 <classShapeMoniker Id="e6f840cc-2968-4be1-b234-eef624ccacbb" /> … … 135 228 </nodes> 136 229 </associationConnector> 137 <classShape Id="b4e7aaa8-a382-4560-a1fd-498de77e9340" absoluteBounds="1.75, 5.5, 2, 1.1939925130208327">138 <DataClassMoniker Name="/HiveDataContext/Lifecycle" />139 <nestedChildShapes>140 <elementListCompartment Id="03597a2c-5c5d-4c2c-b741-c49ab5aa34d5" absoluteBounds="1.7650000000000001, 5.96, 1.9700000000000002, 0.63399251302083326" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />141 </nestedChildShapes>142 </classShape>143 <classShape Id="cdddf4da-eaef-46a1-9cfd-987bb6b3d03e" absoluteBounds="17, 3.125, 2.5, 1.7708968098958327">144 <DataClassMoniker Name="/HiveDataContext/DeletedJobStatistics" />145 <nestedChildShapes>146 <elementListCompartment Id="b8738381-f696-4dba-a517-47e9cd96a9a6" absoluteBounds="17.015, 3.585, 2.4699999999999998, 1.2108968098958333" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />147 </nestedChildShapes>148 </classShape>149 <classShape Id="25442617-ff41-49a0-b5d5-4cbe0b2f0f45" absoluteBounds="22, 4.5, 2, 1.9631982421874996">150 <DataClassMoniker Name="/HiveDataContext/UserStatistics" />151 <nestedChildShapes>152 <elementListCompartment Id="6edf08e7-054a-4253-8d4f-5bf2dfec2d29" absoluteBounds="22.015, 4.96, 1.9700000000000002, 1.4031982421875" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />153 </nestedChildShapes>154 </classShape>155 <classShape Id="f78ec989-4862-4bac-87e3-9b0aad4bc037" absoluteBounds="19.875, 4.5, 2, 2.1554996744791666">156 <DataClassMoniker Name="/HiveDataContext/SlaveStatistics" />157 <nestedChildShapes>158 <elementListCompartment Id="98cb46fe-820e-4041-aee8-04e8bed3df23" absoluteBounds="19.89, 4.96, 1.9700000000000002, 1.5954996744791665" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />159 </nestedChildShapes>160 </classShape>161 <classShape Id="4d9f0606-b7ee-4dae-a8ac-aff88d25a941" absoluteBounds="21, 3, 2, 1.1939925130208327">162 <DataClassMoniker Name="/HiveDataContext/Statistics" />163 <nestedChildShapes>164 <elementListCompartment Id="17821282-8edf-40b7-9065-84f53391d5c1" absoluteBounds="21.015, 3.46, 1.9700000000000002, 0.63399251302083326" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />165 </nestedChildShapes>166 </classShape>167 <associationConnector edgePoints="[(21.4375 : 4.19399251302083); (21.4375 : 4.5)]" fixedFrom="NotFixed" fixedTo="NotFixed">168 <AssociationMoniker Name="/HiveDataContext/Statistics/Statistics_SlaveStatistics" />169 <nodes>170 <classShapeMoniker Id="4d9f0606-b7ee-4dae-a8ac-aff88d25a941" />171 <classShapeMoniker Id="f78ec989-4862-4bac-87e3-9b0aad4bc037" />172 </nodes>173 </associationConnector>174 <associationConnector edgePoints="[(22.5 : 4.19399251302083); (22.5 : 4.5)]" fixedFrom="NotFixed" fixedTo="NotFixed">175 <AssociationMoniker Name="/HiveDataContext/Statistics/Statistics_UserStatistics" />176 <nodes>177 <classShapeMoniker Id="4d9f0606-b7ee-4dae-a8ac-aff88d25a941" />178 <classShapeMoniker Id="25442617-ff41-49a0-b5d5-4cbe0b2f0f45" />179 </nodes>180 </associationConnector>181 <associationConnector edgePoints="[(12.781252 : 2.57859537760417); (12.781252 : 3.64829952604167); (13.5 : 3.64829952604167)]" fixedFrom="NotFixed" fixedTo="NotFixed">182 <AssociationMoniker Name="/HiveDataContext/Resource/Resource_Downtime" />183 <nodes>184 <classShapeMoniker Id="706a4581-6daf-4e71-ae2a-87d50b27a051" />185 <classShapeMoniker Id="8d5712f7-7a1a-4a89-bd4d-fd60200d3306" />186 </nodes>187 </associationConnector>188 <associationConnector edgePoints="[(7.5 : 4.30930826822917); (7.5 : 4.751650890625); (7.97916666666667 : 4.751650890625 : JumpStart); (8.14583333333333 : 4.751650890625 : JumpEnd); (8.875 : 4.751650890625)]" fixedFrom="NotFixed" fixedTo="NotFixed">189 <AssociationMoniker Name="/HiveDataContext/Task/Task_AssignedResource" />190 <nodes>191 <classShapeMoniker Id="695bfc39-59f3-4e60-8644-f847964bf62c" />192 <classShapeMoniker Id="a929c9dc-69f4-4488-ba1c-a2342bf81d89" />193 </nodes>194 </associationConnector>195 <associationConnector edgePoints="[(8.0625 : 4.30930826822917); (8.0625 : 5.5)]" fixedFrom="NotFixed" fixedTo="NotFixed">196 <AssociationMoniker Name="/HiveDataContext/Task/Task_RequiredPlugin" />197 <nodes>198 <classShapeMoniker Id="695bfc39-59f3-4e60-8644-f847964bf62c" />199 <classShapeMoniker Id="97b00810-fa30-457e-b484-b4e80b22f91b" />200 </nodes>201 </associationConnector>202 <associationConnector edgePoints="[(7.20923076923077 : 1); (7.20923076923077 : 0.875); (7.80461538461539 : 0.875); (7.80461538461539 : 1)]" fixedFrom="NotFixed" fixedTo="NotFixed">203 <AssociationMoniker Name="/HiveDataContext/Task/Task_Task" />204 <nodes>205 <classShapeMoniker Id="695bfc39-59f3-4e60-8644-f847964bf62c" />206 <classShapeMoniker Id="695bfc39-59f3-4e60-8644-f847964bf62c" />207 </nodes>208 </associationConnector>209 <associationConnector edgePoints="[(6.125 : 3.46715413411458); (6.5 : 3.46715413411458)]" fixedFrom="NotFixed" fixedTo="NotFixed">210 <AssociationMoniker Name="/HiveDataContext/Job/HiveExperiment_Task" />211 <nodes>212 <classShapeMoniker Id="e6f840cc-2968-4be1-b234-eef624ccacbb" />213 <classShapeMoniker Id="695bfc39-59f3-4e60-8644-f847964bf62c" />214 </nodes>215 </associationConnector>216 <associationConnector edgePoints="[(6.5 : 1.69314697265625); (6.125 : 1.69314697265625)]" fixedFrom="NotFixed" fixedTo="NotFixed">217 <AssociationMoniker Name="/HiveDataContext/Task/Task_TaskData" />218 <nodes>219 <classShapeMoniker Id="695bfc39-59f3-4e60-8644-f847964bf62c" />220 <classShapeMoniker Id="6bc13f26-f9a8-4597-b054-35be34190d12" />221 </nodes>222 </associationConnector>223 <associationConnector edgePoints="[(6.5 : 2.50564697265625); (3.75 : 2.50564697265625)]" fixedFrom="NotFixed" fixedTo="NotFixed">224 <AssociationMoniker Name="/HiveDataContext/Task/Task_StateLog" />225 <nodes>226 <classShapeMoniker Id="695bfc39-59f3-4e60-8644-f847964bf62c" />227 <classShapeMoniker Id="00352397-340e-449a-8e23-6ddd216e8617" />228 </nodes>229 </associationConnector>230 230 </nestedChildShapes> 231 231 </ordesignerObjectsDiagram> -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.DataAccess/3.3/HiveDataContext.designer.cs
r6723 r6768 1919 1919 } 1920 1920 1921 [global::System.Data.Linq.Mapping.AssociationAttribute(Name=" HiveExperiment_Task", Storage="_HiveExperiment", ThisKey="JobId", OtherKey="JobId", IsForeignKey=true)]1921 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Job_Task", Storage="_HiveExperiment", ThisKey="JobId", OtherKey="JobId", IsForeignKey=true)] 1922 1922 public Job Job 1923 1923 { … … 2287 2287 private System.DateTime _DateCreated; 2288 2288 2289 private System.Nullable<System.DateTime> _LastAccessed;2290 2291 private bool _IsHiveEngine;2292 2293 2289 private EntitySet<Task> _Jobs; 2294 2290 … … 2311 2307 partial void OnDateCreatedChanging(System.DateTime value); 2312 2308 partial void OnDateCreatedChanged(); 2313 partial void OnLastAccessedChanging(System.Nullable<System.DateTime> value);2314 partial void OnLastAccessedChanged();2315 partial void OnIsHiveEngineChanging(bool value);2316 partial void OnIsHiveEngineChanged();2317 2309 #endregion 2318 2310 … … 2444 2436 } 2445 2437 2446 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LastAccessed", DbType="DateTime")] 2447 public System.Nullable<System.DateTime> LastAccessed 2448 { 2449 get 2450 { 2451 return this._LastAccessed; 2452 } 2453 set 2454 { 2455 if ((this._LastAccessed != value)) 2456 { 2457 this.OnLastAccessedChanging(value); 2458 this.SendPropertyChanging(); 2459 this._LastAccessed = value; 2460 this.SendPropertyChanged("LastAccessed"); 2461 this.OnLastAccessedChanged(); 2462 } 2463 } 2464 } 2465 2466 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsHiveEngine", DbType="Bit")] 2467 public bool IsHiveEngine 2468 { 2469 get 2470 { 2471 return this._IsHiveEngine; 2472 } 2473 set 2474 { 2475 if ((this._IsHiveEngine != value)) 2476 { 2477 this.OnIsHiveEngineChanging(value); 2478 this.SendPropertyChanging(); 2479 this._IsHiveEngine = value; 2480 this.SendPropertyChanged("IsHiveEngine"); 2481 this.OnIsHiveEngineChanged(); 2482 } 2483 } 2484 } 2485 2486 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="HiveExperiment_Task", Storage="_Jobs", ThisKey="JobId", OtherKey="JobId")] 2438 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Job_Task", Storage="_Jobs", ThisKey="JobId", OtherKey="JobId")] 2487 2439 public EntitySet<Task> Tasks 2488 2440 { … … 2497 2449 } 2498 2450 2499 [global::System.Data.Linq.Mapping.AssociationAttribute(Name=" HiveExperiment_HiveExperimentPermission", Storage="_HiveExperimentPermissions", ThisKey="JobId", OtherKey="JobId")]2451 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Job_JobPermission", Storage="_HiveExperimentPermissions", ThisKey="JobId", OtherKey="JobId")] 2500 2452 public EntitySet<JobPermission> JobPermissions 2501 2453 { … … 3289 3241 } 3290 3242 3291 [global::System.Data.Linq.Mapping.AssociationAttribute(Name=" HiveExperiment_HiveExperimentPermission", Storage="_HiveExperiment", ThisKey="JobId", OtherKey="JobId", IsForeignKey=true)]3243 [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Job_JobPermission", Storage="_HiveExperiment", ThisKey="JobId", OtherKey="JobId", IsForeignKey=true)] 3292 3244 public Job Job 3293 3245 { -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.DataAccess/3.3/SQL Scripts/Initialize Hive Database.sql
r6723 r6768 74 74 [ResourceIds] VarChar(MAX), 75 75 [OwnerUserId] UniqueIdentifier, 76 [DateCreated] DateTime, 77 [LastAccessed] DateTime, 78 [IsHiveEngine] Bit, 76 [DateCreated] DateTime, 79 77 CONSTRAINT [PK_dbo.Job] PRIMARY KEY ([JobId]) 80 78 ) -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.3/Convert.cs
r6743 r6768 135 135 public static DT.Job ToDto(DB.Job source) { 136 136 if (source == null) return null; 137 return new DT.Job { Id = source.JobId, Description = source.Description, Name = source.Name, OwnerUserId = source.OwnerUserId, DateCreated = source.DateCreated, ResourceNames = source.ResourceIds , LastAccessed = source.LastAccessed};137 return new DT.Job { Id = source.JobId, Description = source.Description, Name = source.Name, OwnerUserId = source.OwnerUserId, DateCreated = source.DateCreated, ResourceNames = source.ResourceIds }; 138 138 } 139 139 public static DB.Job ToEntity(DT.Job source) { … … 144 144 public static void ToEntity(DT.Job source, DB.Job target) { 145 145 if ((source != null) && (target != null)) { 146 target.JobId = source.Id; target.Description = source.Description; target.Name = source.Name; target.OwnerUserId = source.OwnerUserId; target.DateCreated = source.DateCreated; target.ResourceIds = source.ResourceNames; target.LastAccessed = source.LastAccessed;146 target.JobId = source.Id; target.Description = source.Description; target.Name = source.Name; target.OwnerUserId = source.OwnerUserId; target.DateCreated = source.DateCreated; target.ResourceIds = source.ResourceNames; 147 147 } 148 148 } -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.3/DataTransfer/Job.cs
r6723 r6768 34 34 public string ResourceNames { get; set; } 35 35 [DataMember] 36 public DateTime? LastAccessed { get; set; }37 [DataMember]38 36 public Permission Permission { get; set; } // the permission for the currently logged in user 39 37 [DataMember]
Note: See TracChangeset
for help on using the changeset viewer.