Mercurial > silverbladetech
comparison SilverlightExampleApp/SilverlightExampleApp.Web/Repositories/IRepository.cs @ 49:502f5f365649
Initial load for Silverlight Example Application
author | Steven Hollidge <stevenhollidge@hotmail.com> |
---|---|
date | Tue, 17 Apr 2012 17:57:52 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
48:d617b54e1f47 | 49:502f5f365649 |
---|---|
1 using System.Collections.Generic; | |
2 | |
3 namespace SilverlightExampleApp.Web.Repositories | |
4 { | |
5 public interface IRepository<T> | |
6 { | |
7 T Get(int id); | |
8 IList<T> GetAll(); | |
9 | |
10 void Insert(T item); | |
11 void Update(T item); | |
12 void Delete(T item); | |
13 } | |
14 } |