Skip to content

Instantly share code, notes, and snippets.

@crmckenzie
Created December 6, 2012 17:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crmckenzie/4226546 to your computer and use it in GitHub Desktop.
Save crmckenzie/4226546 to your computer and use it in GitHub Desktop.
public interface IRepository : IDisposable
{
IQueryable<T> Find<T>() where T: class;
T Get<T>(object key) where T : class;
void Save(object value);
void Delete(object value);
ITransaction BeginTransaction();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment