CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets matching tags of Fake
C#
 
 public interface IKeyedRepository<TKey, TEntity> : IRepository<TEntity> 
     where TEntity : class, IKeyed<TKey>
 {
    TEntity FindBy(TKey id);
 }
 public interface IRepository<TEntity> : IReadOnlyRepository<TEntity> where TEntity:class
 {
     bool Add(TEntity entity);
     bool Add(IEnumerable<TEntity> items);
by Bob Cravens   February 21, 2011 @ 8:01am
361 Views
no comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate