Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/16/08 17:26:43 (15 years ago)
Author:
svonolfe
Message:

Refactored DAL, Improved Caching (#372)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Server.Core/InternalInterfaces/DataAccess/IClientAdapter.cs

    r971 r995  
    3030  /// The client database adapter
    3131  /// </summary>
    32   public interface IClientAdapter {
    33     /// <summary>
    34     /// Save or update the client
    35     /// </summary>
    36     /// <param name="client"></param>
    37     void UpdateClient(ClientInfo client);
    38 
    39     /// <summary>
    40     /// Get the client with the specified ID
    41     /// </summary>
    42     /// <param name="clientId"></param>
    43     /// <returns></returns>
    44     ClientInfo GetClientById(Guid clientId);
    45 
     32  public interface IClientAdapter : IDataAdapter<ClientInfo> {
    4633    /// <summary>
    4734    /// Get the client with the specified name
     
    4936    /// <param name="clientId"></param>
    5037    /// <returns></returns>
    51     ClientInfo GetClientByName(string name);
     38    ClientInfo GetByName(string name);
    5239
    5340    /// <summary>
    54     /// Get the client with the specified ID
     41    /// Get the client with the specified id
    5542    /// </summary>
    5643    /// <param name="clientId"></param>
    5744    /// <returns></returns>
    58     ClientInfo GetClientById(long id);
    59 
    60     /// <summary>
    61     /// Get all clients
    62     /// </summary>
    63     /// <returns></returns>
    64     ICollection<ClientInfo> GetAllClients();
    65 
    66     /// <summary>
    67     /// Deletes the client
    68     /// </summary>
    69     /// <param name="client"></param>
    70     bool DeleteClient(ClientInfo client);
     45    ClientInfo GetById(Guid id);
    7146  }
    7247}
Note: See TracChangeset for help on using the changeset viewer.