Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/07/09 17:04:39 (16 years ago)
Author:
msteinbi
Message:

Started implementation of Lifecycle Management for CLient Communicator (#453)

Location:
trunk/sources/HeuristicLab.Hive.Server.ADODataAccess
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/CachedDataAdapter.cs

    r1029 r1088  
    5252    }
    5353
     54    [MethodImpl(MethodImplOptions.Synchronized)]
    5455    protected virtual RowT FindSingleRow(Selector dbSelector,
    5556      Selector cacheSelector) {
     
    6667    }
    6768
     69    [MethodImpl(MethodImplOptions.Synchronized)]
    6870    protected virtual IEnumerable<RowT> FindMultipleRows(Selector dbSelector,
    6971        Selector cacheSelector) {
     
    8385    }
    8486
     87    [MethodImpl(MethodImplOptions.Synchronized)]
    8588    protected virtual ObjT FindSingle(Selector dbSelector,
    8689      Selector cacheSelector) {
     
    97100    }
    98101
     102    [MethodImpl(MethodImplOptions.Synchronized)]
    99103    protected virtual ICollection<ObjT> FindMultiple(Selector dbSelector,
    100104      Selector cacheSelector) {
     
    142146    }
    143147
     148    [MethodImpl(MethodImplOptions.Synchronized)]
    144149    protected override RowT GetRowById(long id) {
    145150      RowT row =
  • trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/DataAdapterBase.cs

    r1025 r1088  
    5151    protected delegate IEnumerable<RowT> Selector();
    5252
     53    [MethodImpl(MethodImplOptions.Synchronized)]
    5354    protected virtual RowT FindSingleRow(Selector selector) {
    5455      RowT row = default(RowT);
     
    6364    }
    6465
     66    [MethodImpl(MethodImplOptions.Synchronized)]
    6567    protected virtual ObjT FindSingle(Selector selector) {
    6668      RowT row = FindSingleRow(selector);
     
    7678    }
    7779
     80    [MethodImpl(MethodImplOptions.Synchronized)]
    7881    protected virtual ICollection<ObjT> FindMultiple(Selector selector) {
    7982      IEnumerable<RowT> found =
     
    9295    }
    9396
     97    [MethodImpl(MethodImplOptions.Synchronized)]
    9498    protected virtual RowT GetRowById(long id) {
    9599      return FindSingleRow(
     
    117121    }
    118122
     123    [MethodImpl(MethodImplOptions.Synchronized)]
    119124    public virtual ObjT GetById(long id) {
    120125      return FindSingle(delegate() {
     
    123128    }
    124129
     130    [MethodImpl(MethodImplOptions.Synchronized)]
    125131    public virtual ICollection<ObjT> GetAll() {
    126132      return new List<ObjT>(
  • trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/HeuristicLab.Hive.Server.ADODataAccess.csproj

    r1000 r1088  
    9494  </ItemGroup>
    9595  <ItemGroup>
     96    <None Include="app.config" />
    9697    <None Include="dsHiveServer.xsc">
    9798      <DependentUpon>dsHiveServer.xsd</DependentUpon>
  • trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/Properties/Settings.Designer.cs

    r826 r1088  
    2727        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    2828        [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")]
    3131        public string HiveServerConnectionString {
    3232            get {
  • trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/Properties/Settings.settings

    r826 r1088  
    66      <DesignTimeValue Profile="(Default)">&lt;?xml version="1.0" encoding="utf-16"?&gt;
    77&lt;SerializableConnectionString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
    8   &lt;ConnectionString&gt;Data Source=10.22.20.84;Initial Catalog=HiveServer;Persist Security Info=True;User ID=hive;Password=hive&lt;/ConnectionString&gt;
     8  &lt;ConnectionString&gt;Data Source=10.22.20.84;Initial Catalog=HiveServer;MultipleActiveResultSets=True;Persist Security Info=True;User ID=hive;Password=hive&lt;/ConnectionString&gt;
    99  &lt;ProviderName&gt;System.Data.SqlClient&lt;/ProviderName&gt;
    1010&lt;/SerializableConnectionString&gt;</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>
    1212    </Setting>
    1313  </Settings>
Note: See TracChangeset for help on using the changeset viewer.