Skip to content

Instantly share code, notes, and snippets.

@komainu85
Created March 22, 2015 16:45
Show Gist options
  • Save komainu85/c0330b07bf815b906b8c to your computer and use it in GitHub Desktop.
Save komainu85/c0330b07bf815b906b8c to your computer and use it in GitHub Desktop.
Sitecore Entity Service Paged Repository
public class EntityRespository : ICustomRepository<Entity>
{
public IQueryable<Entity> GetAll()
{
throw new NotImplementedException();
}
public Entity FindById(string id)
{
throw new NotImplementedException();
}
public void Add(Entity entity)
{
throw new NotImplementedException();
}
public bool Exists(Entity entity)
{
throw new NotImplementedException();
}
public void Update(Entity entity)
{
throw new NotImplementedException();
}
public void Delete(Entity entity)
{
throw new NotImplementedException();
}
public List<Entity> GetAll(int pageSize, int page)
{
throw new NotImplementedException();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment