Mercurial > silverbladetech
view SilverlightAsyncRestWcf/SilverlightAsyncRestWcf.Services/IRepository.cs @ 121:8f94475d3146 tip
final code
author | stevenh7776 |
---|---|
date | Thu, 31 May 2012 15:35:26 +0100 |
parents | fa4ba8943048 |
children |
line wrap: on
line source
using System.Collections.Generic; namespace SilverlightAsyncRestWcf.Services { public interface IRepository<T> where T : class { T GetById(string id); IList<T> GetAll(); void Insert(T entity); void Update(T entity); void Delete(string id); } }