Ignore:
Timestamp:
01/18/18 15:08:25 (3 years ago)
Author:
jzenisek
Message:

#2839

  • updated Heartbeat processing (regarding: checking against AssignedJobResources and handling of the updated Job deletion routine)
  • updated Job deletion routine(still in progress at GenerateStatistics)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HiveProjectManagement/HeuristicLab.Services.Hive.DataAccess/3.3/HiveDataContext.designer.cs

    r15577 r15630  
    390390    }
    391391   
    392     [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Resource_AssignedProjectResource", Storage="_Resource", ThisKey="ResourceId", OtherKey="ResourceId", IsForeignKey=true, DeleteOnNull=true)]
     392    [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Resource_AssignedProjectResource", Storage="_Resource", ThisKey="ResourceId", OtherKey="ResourceId", IsForeignKey=true, DeleteRule="CASCADE")]
    393393    public Resource Resource
    394394    {
     
    424424    }
    425425   
    426     [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Project_AssignedProjectResource", Storage="_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true, DeleteOnNull=true)]
     426    [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Project_AssignedProjectResource", Storage="_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true, DeleteRule="CASCADE")]
    427427    public Project Project
    428428    {
     
    24862486    private System.Guid _ProjectId;
    24872487   
     2488    private global::HeuristicLab.Services.Hive.DataAccess.JobState _State;
     2489   
    24882490    private EntitySet<Task> _Jobs;
    24892491   
     
    25102512    partial void OnProjectIdChanging(System.Guid value);
    25112513    partial void OnProjectIdChanged();
     2514    partial void OnStateChanging(global::HeuristicLab.Services.Hive.DataAccess.JobState value);
     2515    partial void OnStateChanged();
    25122516    #endregion
    25132517   
     
    26412645          this.SendPropertyChanged("ProjectId");
    26422646          this.OnProjectIdChanged();
     2647        }
     2648      }
     2649    }
     2650   
     2651    [global::System.Data.Linq.Mapping.ColumnAttribute(Name="JobState", Storage="_State", DbType="VarChar(30)", CanBeNull=false)]
     2652    public global::HeuristicLab.Services.Hive.DataAccess.JobState State
     2653    {
     2654      get
     2655      {
     2656        return this._State;
     2657      }
     2658      set
     2659      {
     2660        if ((this._State != value))
     2661        {
     2662          this.OnStateChanging(value);
     2663          this.SendPropertyChanging();
     2664          this._State = value;
     2665          this.SendPropertyChanged("State");
     2666          this.OnStateChanged();
    26432667        }
    26442668      }
     
    58095833    }
    58105834   
    5811     [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Project_AssignedProjectResource", Storage="_AssignedResources", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="CASCADE")]
     5835    [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Project_AssignedProjectResource", Storage="_AssignedResources", ThisKey="ProjectId", OtherKey="ProjectId")]
    58125836    public EntitySet<AssignedProjectResource> AssignedProjectResources
    58135837    {
     
    58485872    }
    58495873   
    5850     [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Project_ProjectPermission", Storage="_ProjectPermissions", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="CASCADE")]
     5874    [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Project_ProjectPermission", Storage="_ProjectPermissions", ThisKey="ProjectId", OtherKey="ProjectId")]
    58515875    public EntitySet<ProjectPermission> ProjectPermissions
    58525876    {
     
    60606084    }
    60616085   
    6062     [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Project_ProjectPermission", Storage="_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true, DeleteOnNull=true)]
     6086    [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Project_ProjectPermission", Storage="_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
    60636087    public Project Project
    60646088    {
Note: See TracChangeset for help on using the changeset viewer.