Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/04/17 13:46:40 (7 years ago)
Author:
jkarder
Message:

#2839: worked on database model

Location:
branches/HiveProjectManagement
Files:
5 edited

Legend:

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

    r15379 r15399  
    261261      <Column Name="ParentProjectId" Type="System.Guid" DbType="UniqueIdentifier" CanBeNull="true" />
    262262      <Column Name="DateCreated" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
    263       <Column Name="Name" Type="System.String" DbType="VarChar(MAX)" CanBeNull="false" />
    264       <Column Name="Description" Type="System.String" DbType="VarChar(MAX)" CanBeNull="false" />
     263      <Column Name="Name" Type="System.String" DbType="VarChar(MAX) NOT NULL" CanBeNull="false" />
     264      <Column Name="Description" Type="System.String" DbType="VarChar(MAX)" CanBeNull="true" />
    265265      <Column Name="OwnerUserId" Type="System.Guid" DbType="UniqueIdentifier NOT NULL" CanBeNull="false" />
    266266      <Column Name="StartDate" Type="System.DateTime" DbType="DateTime NOT NULL" CanBeNull="false" />
  • branches/HiveProjectManagement/HeuristicLab.Services.Hive.DataAccess/3.3/HiveDataContext.designer.cs

    r15379 r15399  
    57895789    }
    57905790   
    5791     [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="VarChar(MAX)", CanBeNull=false)]
     5791    [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Name", DbType="VarChar(MAX) NOT NULL", CanBeNull=false)]
    57925792    public string Name
    57935793    {
     
    58095809    }
    58105810   
    5811     [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Description", DbType="VarChar(MAX)", CanBeNull=false)]
     5811    [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Description", DbType="VarChar(MAX)")]
    58125812    public string Description
    58135813    {
  • branches/HiveProjectManagement/HeuristicLab.Services.Hive.DataAccess/3.3/SQL Scripts/Initialize Hive Database.sql

    r15378 r15399  
    155155  [DateCreated] DateTime NOT NULL,
    156156  [Name] VarChar(MAX) NOT NULL,
    157   [Description] VarChar(MAX) NOT NULL,
     157  [Description] VarChar(MAX),
    158158  [OwnerUserId] UniqueIdentifier NOT NULL,
    159159  [StartDate] DateTime NOT NULL,
  • branches/HiveProjectManagement/HeuristicLab.Services.Hive/3.3/Converter.cs

    r15379 r15399  
    121121        OwnerUserId = source.OwnerUserId,
    122122        DateCreated = source.DateCreated,
    123         ResourceNames = source.ResourceIds
     123        ProjectId = source.ProjectId
    124124      };
    125125    }
     
    139139      target.OwnerUserId = source.OwnerUserId;
    140140      target.DateCreated = source.DateCreated;
    141       target.ResourceIds = source.ResourceNames;
     141      target.ProjectId = source.ProjectId;
    142142    }
    143143    #endregion
  • branches/HiveProjectManagement/HeuristicLab.Services.Hive/3.3/DataTransfer/Job.cs

    r14185 r15399  
    3232    public DateTime DateCreated { get; set; }
    3333    [DataMember]
    34     public string ResourceNames { get; set; }
     34    public Guid ProjectId { get; set; }
    3535    [DataMember]
    3636    public Permission Permission { get; set; } // the permission for the currently logged in user
Note: See TracChangeset for help on using the changeset viewer.