Mercurial > silverbladetech
annotate SilverlightAsyncRestWcf/SilverlightAsyncRestWcf.Services/IRepository.cs @ 121:8f94475d3146 tip
final code
author | stevenh7776 |
---|---|
date | Thu, 31 May 2012 15:35:26 +0100 |
parents | fa4ba8943048 |
children |
rev | line source |
---|---|
118 | 1 using System.Collections.Generic; |
117 | 2 |
3 namespace SilverlightAsyncRestWcf.Services | |
4 { | |
5 public interface IRepository<T> where T : class | |
6 { | |
7 T GetById(string id); | |
118 | 8 IList<T> GetAll(); |
117 | 9 void Insert(T entity); |
10 void Update(T entity); | |
11 void Delete(string id); | |
12 } | |
13 } |