I have the following interface that I used before EF7. When I try to build the application using EF7, I receive the following error, and I cannot seem to find this type anywhere. I'd really appreciate your suggestions about how to change this code for EF7.
Error CS0246 The type or namespace name 'DbEntityEntry' could not be found (are you missing a using directive or an assembly reference?)
public interface IContext
{
DbSet<Client> Clients { get; set; }
DbSet<TEntity> Set<TEntity>() where TEntity : class;
DbEntityEntry<TEntity> Entry<TEntity>(TEntity entity) where TEntity : class;
int SaveChanges();
}