Skip to content

Instantly share code, notes, and snippets.

@oclockvn
Last active August 29, 2015 14:22
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 oclockvn/f89bab48104d621aea96 to your computer and use it in GitHub Desktop.
Save oclockvn/f89bab48104d621aea96 to your computer and use it in GitHub Desktop.
public interface IGenericRepository<T> where T : class
{
IEnumerable<T> SelectAll();
T SelectById(object id);
void Insert(T obj);
void Update(T obj);
void Delete(object id);
void Save();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment