Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/16/11 12:39:32 (14 years ago)
Author:
ascheibe
Message:

#1233 removed useLocalPlugins

Location:
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.DataAccess/3.4
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.DataAccess/3.4/Convert.cs

    r6407 r6426  
    167167    public static DT.Plugin ToDto(Plugin source) {
    168168      if (source == null) return null;
    169       return new DT.Plugin { Id = source.PluginId, Name = source.Name, Version = new Version(source.Version), UserId = source.UserId, IsLocal = source.IsLocal, DateCreated = source.DateCreated, Hash = source.Hash };
     169      return new DT.Plugin { Id = source.PluginId, Name = source.Name, Version = new Version(source.Version), UserId = source.UserId, DateCreated = source.DateCreated, Hash = source.Hash };
    170170    }
    171171    public static Plugin ToEntity(DT.Plugin source) {
     
    176176    public static void ToEntity(DT.Plugin source, Plugin target) {
    177177      if ((source != null) && (target != null)) {
    178         target.PluginId = source.Id; target.Name = source.Name; target.Version = source.Version.ToString(); target.UserId = source.UserId; target.IsLocal = source.IsLocal; target.DateCreated = source.DateCreated; target.Hash = source.Hash;
     178        target.PluginId = source.Id; target.Name = source.Name; target.Version = source.Version.ToString(); target.UserId = source.UserId; target.DateCreated = source.DateCreated; target.Hash = source.Hash;
    179179      }
    180180    }
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.DataAccess/3.4/HiveDataContext.dbml

    r6407 r6426  
    1414      <Column Name="Name" Type="System.String" DbType="VarChar(MAX)" CanBeNull="false" />
    1515      <Column Name="Version" Type="System.String" DbType="VarChar(MAX)" CanBeNull="false" />
    16       <Column Name="IsLocal" Type="System.Boolean" DbType="Bit" CanBeNull="false" />
    1716      <Column Name="UserId" Type="System.Guid" DbType="UniqueIdentifier" CanBeNull="false" />
    1817      <Column Name="DateCreated" Type="System.DateTime" DbType="DateTime" CanBeNull="false" />
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.DataAccess/3.4/HiveDataContext.dbml.layout

    r6407 r6426  
    99      </nestedChildShapes>
    1010    </classShape>
    11     <classShape Id="7d998e56-4fba-41ca-a1a8-1dcdb9068edf" absoluteBounds="8.875, 5.5, 2, 2.1554996744791666">
     11    <classShape Id="7d998e56-4fba-41ca-a1a8-1dcdb9068edf" absoluteBounds="8.875, 5.5, 2, 1.9631982421874996">
    1212      <DataClassMoniker Name="/HiveDataContext/Plugin" />
    1313      <nestedChildShapes>
    14         <elementListCompartment Id="ec4ba325-6dff-4418-baad-59af81ae2024" absoluteBounds="8.89, 5.9600000000000009, 1.9700000000000002, 1.5954996744791665" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
     14        <elementListCompartment Id="ec4ba325-6dff-4418-baad-59af81ae2024" absoluteBounds="8.89, 5.9600000000000009, 1.9700000000000002, 1.4031982421875" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
    1515      </nestedChildShapes>
    1616    </classShape>
     
    7676      </nodes>
    7777    </associationConnector>
    78     <associationConnector edgePoints="[(7.5 : 4.30930826822917); (7.5 : 4.84780160677083); (8.875 : 4.84780160677083)]" fixedFrom="NotFixed" fixedTo="NotFixed">
     78    <associationConnector edgePoints="[(7.5 : 4.30930826822917); (7.5 : 4.84780160677083); (8.875 : 4.84780160677083)]" fixedFrom="Algorithm" fixedTo="Algorithm">
    7979      <AssociationMoniker Name="/HiveDataContext/Job/Job_AssignedResource" />
    8080      <nodes>
     
    116116      </nestedChildShapes>
    117117    </classShape>
    118     <associationConnector edgePoints="[(10.875 : 6.28929768880208); (11.25 : 6.28929768880208)]" fixedFrom="NotFixed" fixedTo="NotFixed">
     118    <associationConnector edgePoints="[(10.875 : 6.28929768880208); (11.25 : 6.28929768880208)]" fixedFrom="Algorithm" fixedTo="Algorithm">
    119119      <AssociationMoniker Name="/HiveDataContext/Plugin/Plugin_PluginData" />
    120120      <nodes>
     
    130130      </nodes>
    131131    </associationConnector>
    132     <associationConnector edgePoints="[(8.875 : 6.19314697265625); (8.5 : 6.19314697265625)]" fixedFrom="NotFixed" fixedTo="NotFixed">
     132    <associationConnector edgePoints="[(8.875 : 6.19314697265625); (8.5 : 6.19314697265625)]" fixedFrom="Algorithm" fixedTo="Algorithm">
    133133      <AssociationMoniker Name="/HiveDataContext/Plugin/Plugin_RequiredPlugin" />
    134134      <nodes>
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.DataAccess/3.4/HiveDataContext.designer.cs

    r6407 r6426  
    438438    private string _Version;
    439439   
    440     private bool _IsLocal;
    441    
    442440    private System.Guid _UserId;
    443441   
     
    460458    partial void OnVersionChanging(string value);
    461459    partial void OnVersionChanged();
    462     partial void OnIsLocalChanging(bool value);
    463     partial void OnIsLocalChanged();
    464460    partial void OnUserIdChanging(System.Guid value);
    465461    partial void OnUserIdChanged();
     
    533529          this.SendPropertyChanged("Version");
    534530          this.OnVersionChanged();
    535         }
    536       }
    537     }
    538    
    539     [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsLocal", DbType="Bit")]
    540     public bool IsLocal
    541     {
    542       get
    543       {
    544         return this._IsLocal;
    545       }
    546       set
    547       {
    548         if ((this._IsLocal != value))
    549         {
    550           this.OnIsLocalChanging(value);
    551           this.SendPropertyChanging();
    552           this._IsLocal = value;
    553           this.SendPropertyChanged("IsLocal");
    554           this.OnIsLocalChanged();
    555531        }
    556532      }
Note: See TracChangeset for help on using the changeset viewer.