- Timestamp:
- 06/18/15 17:28:03 (10 years ago)
- Location:
- branches/HiveStatistics/sources/HeuristicLab.Services.Hive.DataAccess/3.3
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HiveStatistics/sources/HeuristicLab.Services.Hive.DataAccess/3.3/Daos/HiveStatistics/DimJobDao.cs
r12468 r12477 31 31 return Table.SingleOrDefault(x => x.JobId == id); 32 32 } 33 34 public IQueryable<DimJob> GetByUserId(Guid id) { 35 return Table.Where(x => x.UserId == id); 36 } 33 37 } 34 38 } -
branches/HiveStatistics/sources/HeuristicLab.Services.Hive.DataAccess/3.3/Daos/HiveStatistics/FactTaskDao.cs
r12468 r12477 40 40 } 41 41 42 public IQueryable<FactTask> GetByJobId(Guid id) { 43 return Table.Where(x => x.JobId == id); 44 } 45 42 46 public override void Delete(IEnumerable<Guid> ids) { 43 47 string paramIds = string.Join(",", ids.Select(x => string.Format("'{0}'", x))); -
branches/HiveStatistics/sources/HeuristicLab.Services.Hive.DataAccess/3.3/HiveDataContext.dbml
r12468 r12477 1 1 <?xml version="1.0" encoding="utf-8"?><Database Name="HeuristicLab.Hive-3.3" Class="HiveDataContext" xmlns="http://schemas.microsoft.com/linqtosql/dbml/2007"> 2 <Connection Mode="AppSettings" ConnectionString="Data Source= localhost;Initial Catalog=HeuristicLab.Hive-3.3;Integrated Security=True" SettingsObjectName="HeuristicLab.Services.Hive.DataAccess.Settings" SettingsPropertyName="HeuristicLab_Hive_LinqConnectionString" Provider="System.Data.SqlClient" />2 <Connection Mode="AppSettings" ConnectionString="Data Source=.\SQLEXPRESS;Initial Catalog=HeuristicLab.Hive-3.3;Integrated Security=True" SettingsObjectName="HeuristicLab.Services.Hive.DataAccess.Settings" SettingsPropertyName="HeuristicLab_Hive_LinqConnectionString" Provider="System.Data.SqlClient" /> 3 3 <Table Name="dbo.AssignedResources" Member="AssignedResources"> 4 4 <Type Name="AssignedResource"> … … 251 251 <Column Name="JobName" Type="System.String" DbType="VarChar(MAX) NOT NULL" CanBeNull="false" /> 252 252 <Column Name="UserName" Type="System.String" DbType="VarChar(MAX) NOT NULL" CanBeNull="false" /> 253 <Column Member="DateCreated" Type="System.DateTime" CanBeNull="false" /> 253 254 <Association Name="DimJob_FactTask" Member="FactTasks" ThisKey="JobId" OtherKey="JobId" Type="FactTask" /> 254 255 </Type> -
branches/HiveStatistics/sources/HeuristicLab.Services.Hive.DataAccess/3.3/HiveDataContext.dbml.layout
r12468 r12477 259 259 </nestedChildShapes> 260 260 </classShape> 261 <classShape Id="e0cb8641-a75e-4b9f-beda-3218c56938b1" absoluteBounds="8.125, 9.125, 2, 1. 5785953776041666">261 <classShape Id="e0cb8641-a75e-4b9f-beda-3218c56938b1" absoluteBounds="8.125, 9.125, 2, 1.7708968098958344"> 262 262 <DataClassMoniker Name="/HiveDataContext/DimJob" /> 263 263 <nestedChildShapes> 264 <elementListCompartment Id="6b9e8260-7e4b-4357-9c26-eebebfd69504" absoluteBounds="8.14, 9.585, 1.9700000000000002, 1. 0185953776041665" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />264 <elementListCompartment Id="6b9e8260-7e4b-4357-9c26-eebebfd69504" absoluteBounds="8.14, 9.585, 1.9700000000000002, 1.2108968098958333" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" /> 265 265 </nestedChildShapes> 266 266 </classShape> … … 290 290 </nodes> 291 291 </associationConnector> 292 <associationConnector edgePoints="[(8.5 : 10. 7035953776042); (8.5 : 11.25)]" fixedFrom="NotFixed" fixedTo="NotFixed">292 <associationConnector edgePoints="[(8.5 : 10.8958968098958); (8.5 : 11.25)]" fixedFrom="Algorithm" fixedTo="Algorithm"> 293 293 <AssociationMoniker Name="/HiveDataContext/DimJob/DimJob_FactTask" /> 294 294 <nodes> -
branches/HiveStatistics/sources/HeuristicLab.Services.Hive.DataAccess/3.3/HiveDataContext.designer.cs
r12468 r12477 5415 5415 private string _UserName; 5416 5416 5417 private System.DateTime _DateCreated; 5418 5417 5419 private EntitySet<FactTask> _FactTasks; 5418 5420 … … 5429 5431 partial void OnUserNameChanging(string value); 5430 5432 partial void OnUserNameChanged(); 5433 partial void OnDateCreatedChanging(System.DateTime value); 5434 partial void OnDateCreatedChanged(); 5431 5435 #endregion 5432 5436 … … 5513 5517 this.SendPropertyChanged("UserName"); 5514 5518 this.OnUserNameChanged(); 5519 } 5520 } 5521 } 5522 5523 [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DateCreated")] 5524 public System.DateTime DateCreated 5525 { 5526 get 5527 { 5528 return this._DateCreated; 5529 } 5530 set 5531 { 5532 if ((this._DateCreated != value)) 5533 { 5534 this.OnDateCreatedChanging(value); 5535 this.SendPropertyChanging(); 5536 this._DateCreated = value; 5537 this.SendPropertyChanged("DateCreated"); 5538 this.OnDateCreatedChanged(); 5515 5539 } 5516 5540 } -
branches/HiveStatistics/sources/HeuristicLab.Services.Hive.DataAccess/3.3/SQL Scripts/Initialize Hive Database.sql
r12468 r12477 219 219 ); 220 220 CREATE TABLE [statistics].[DimJob] ( 221 [JobId] UNIQUEIDENTIFIER NOT NULL, 222 [UserId] UNIQUEIDENTIFIER NOT NULL, 223 [JobName] VARCHAR (MAX) NOT NULL, 224 [UserName] VARCHAR (MAX) NOT NULL, 221 [JobId] UNIQUEIDENTIFIER NOT NULL, 222 [UserId] UNIQUEIDENTIFIER NOT NULL, 223 [JobName] VARCHAR (MAX) NOT NULL, 224 [UserName] VARCHAR (MAX) NOT NULL, 225 [DateCreated] DATETIME NOT NULL, 225 226 CONSTRAINT [PK_DimJob] PRIMARY KEY CLUSTERED ([JobId] ASC) 226 227 ); -
branches/HiveStatistics/sources/HeuristicLab.Services.Hive.DataAccess/3.3/Settings.Designer.cs
r11623 r12477 2 2 // <auto-generated> 3 3 // This code was generated by a tool. 4 // Runtime Version:4.0.30319.34 0144 // Runtime Version:4.0.30319.34209 5 5 // 6 6 // Changes to this file may cause incorrect behavior and will be lost if … … 27 27 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 28 28 [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)] 29 [global::System.Configuration.DefaultSettingValueAttribute("Data Source= localhost;Initial Catalog=HeuristicLab.Hive-3.3;Integrated Security=T" +30 " rue;")]29 [global::System.Configuration.DefaultSettingValueAttribute("Data Source=.\\SQLEXPRESS;Initial Catalog=HeuristicLab.Hive-3.3;Integrated Securit" + 30 "y=True;")] 31 31 public string HeuristicLab_Hive_LinqConnectionString { 32 32 get { -
branches/HiveStatistics/sources/HeuristicLab.Services.Hive.DataAccess/3.3/Settings.settings
r6983 r12477 6 6 <DesignTimeValue Profile="(Default)"><?xml version="1.0" encoding="utf-16"?> 7 7 <SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 8 <ConnectionString>Data Source= localhost;Initial Catalog=HeuristicLab.Hive-3.3;Integrated Security=True;</ConnectionString>8 <ConnectionString>Data Source=.\SQLEXPRESS;Initial Catalog=HeuristicLab.Hive-3.3;Integrated Security=True;</ConnectionString> 9 9 <ProviderName>System.Data.SqlClient</ProviderName> 10 10 </SerializableConnectionString></DesignTimeValue> 11 <Value Profile="(Default)">Data Source= localhost;Initial Catalog=HeuristicLab.Hive-3.3;Integrated Security=True;</Value>11 <Value Profile="(Default)">Data Source=.\SQLEXPRESS;Initial Catalog=HeuristicLab.Hive-3.3;Integrated Security=True;</Value> 12 12 </Setting> 13 13 <Setting Name="LongRunningDatabaseCommandTimeout" Type="System.TimeSpan" Scope="Application">
Note: See TracChangeset
for help on using the changeset viewer.