Changeset 1088 for trunk/sources/HeuristicLab.Hive.Server.ADODataAccess
- Timestamp:
- 01/07/09 17:04:39 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.Hive.Server.ADODataAccess
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/CachedDataAdapter.cs
r1029 r1088 52 52 } 53 53 54 [MethodImpl(MethodImplOptions.Synchronized)] 54 55 protected virtual RowT FindSingleRow(Selector dbSelector, 55 56 Selector cacheSelector) { … … 66 67 } 67 68 69 [MethodImpl(MethodImplOptions.Synchronized)] 68 70 protected virtual IEnumerable<RowT> FindMultipleRows(Selector dbSelector, 69 71 Selector cacheSelector) { … … 83 85 } 84 86 87 [MethodImpl(MethodImplOptions.Synchronized)] 85 88 protected virtual ObjT FindSingle(Selector dbSelector, 86 89 Selector cacheSelector) { … … 97 100 } 98 101 102 [MethodImpl(MethodImplOptions.Synchronized)] 99 103 protected virtual ICollection<ObjT> FindMultiple(Selector dbSelector, 100 104 Selector cacheSelector) { … … 142 146 } 143 147 148 [MethodImpl(MethodImplOptions.Synchronized)] 144 149 protected override RowT GetRowById(long id) { 145 150 RowT row = -
trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/DataAdapterBase.cs
r1025 r1088 51 51 protected delegate IEnumerable<RowT> Selector(); 52 52 53 [MethodImpl(MethodImplOptions.Synchronized)] 53 54 protected virtual RowT FindSingleRow(Selector selector) { 54 55 RowT row = default(RowT); … … 63 64 } 64 65 66 [MethodImpl(MethodImplOptions.Synchronized)] 65 67 protected virtual ObjT FindSingle(Selector selector) { 66 68 RowT row = FindSingleRow(selector); … … 76 78 } 77 79 80 [MethodImpl(MethodImplOptions.Synchronized)] 78 81 protected virtual ICollection<ObjT> FindMultiple(Selector selector) { 79 82 IEnumerable<RowT> found = … … 92 95 } 93 96 97 [MethodImpl(MethodImplOptions.Synchronized)] 94 98 protected virtual RowT GetRowById(long id) { 95 99 return FindSingleRow( … … 117 121 } 118 122 123 [MethodImpl(MethodImplOptions.Synchronized)] 119 124 public virtual ObjT GetById(long id) { 120 125 return FindSingle(delegate() { … … 123 128 } 124 129 130 [MethodImpl(MethodImplOptions.Synchronized)] 125 131 public virtual ICollection<ObjT> GetAll() { 126 132 return new List<ObjT>( -
trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/HeuristicLab.Hive.Server.ADODataAccess.csproj
r1000 r1088 94 94 </ItemGroup> 95 95 <ItemGroup> 96 <None Include="app.config" /> 96 97 <None Include="dsHiveServer.xsc"> 97 98 <DependentUpon>dsHiveServer.xsd</DependentUpon> -
trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/Properties/Settings.Designer.cs
r826 r1088 27 27 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 28 28 [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)] 29 [global::System.Configuration.DefaultSettingValueAttribute("Data Source=10.22.20.84;Initial Catalog=HiveServer; Persist Security Info=True;Use" +30 " r ID=hive;Password=hive")]29 [global::System.Configuration.DefaultSettingValueAttribute("Data Source=10.22.20.84;Initial Catalog=HiveServer;MultipleActiveResultSets=True;" + 30 "Persist Security Info=True;User ID=hive;Password=hive")] 31 31 public string HiveServerConnectionString { 32 32 get { -
trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/Properties/Settings.settings
r826 r1088 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=10.22.20.84;Initial Catalog=HiveServer; Persist Security Info=True;User ID=hive;Password=hive</ConnectionString>8 <ConnectionString>Data Source=10.22.20.84;Initial Catalog=HiveServer;MultipleActiveResultSets=True;Persist Security Info=True;User ID=hive;Password=hive</ConnectionString> 9 9 <ProviderName>System.Data.SqlClient</ProviderName> 10 10 </SerializableConnectionString></DesignTimeValue> 11 <Value Profile="(Default)">Data Source=10.22.20.84;Initial Catalog=HiveServer; Persist Security Info=True;User ID=hive;Password=hive</Value>11 <Value Profile="(Default)">Data Source=10.22.20.84;Initial Catalog=HiveServer;MultipleActiveResultSets=True;Persist Security Info=True;User ID=hive;Password=hive</Value> 12 12 </Setting> 13 13 </Settings>
Note: See TracChangeset
for help on using the changeset viewer.