Changeset 995 for trunk/sources/HeuristicLab.Hive.Server.Core/InternalInterfaces/DataAccess/IClientAdapter.cs
- Timestamp:
- 12/16/08 17:26:43 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server.Core/InternalInterfaces/DataAccess/IClientAdapter.cs
r971 r995 30 30 /// The client database adapter 31 31 /// </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> { 46 33 /// <summary> 47 34 /// Get the client with the specified name … … 49 36 /// <param name="clientId"></param> 50 37 /// <returns></returns> 51 ClientInfo Get ClientByName(string name);38 ClientInfo GetByName(string name); 52 39 53 40 /// <summary> 54 /// Get the client with the specified ID41 /// Get the client with the specified id 55 42 /// </summary> 56 43 /// <param name="clientId"></param> 57 44 /// <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); 71 46 } 72 47 }
Note: See TracChangeset
for help on using the changeset viewer.