You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I find your project interesting, I am trying to use it, but I have a question with this GenericRepository method,
public bool Exist(Expression<Func<TEntity, bool>> predicate) { return _baseDbContext.Set<TEntity>().Any(predicate); }
when I call it from BaseRepository, throws me an error
The best overloaded method match for 'Backend.Infrastructure.Repositories.GenericRepository<Backend.Models.Models.OrderModel,Backend.Data.Entities.Order>.Exist(System.Linq.Expressions.Expression<System.Func<Backend.Data.Entities.Order,bool>>)' has some invalid arguments
public bool Exist(Expression<Func<Object, bool>> predicate) { return _iGenericRepository.Exist(predicate); }
I would be very grateful if you can guide me
best regards
The text was updated successfully, but these errors were encountered:
Hi, I find your project interesting, I am trying to use it, but I have a question with this GenericRepository method,
public bool Exist(Expression<Func<TEntity, bool>> predicate) { return _baseDbContext.Set<TEntity>().Any(predicate); }
when I call it from BaseRepository, throws me an error
The best overloaded method match for 'Backend.Infrastructure.Repositories.GenericRepository<Backend.Models.Models.OrderModel,Backend.Data.Entities.Order>.Exist(System.Linq.Expressions.Expression<System.Func<Backend.Data.Entities.Order,bool>>)' has some invalid arguments
public bool Exist(Expression<Func<Object, bool>> predicate) { return _iGenericRepository.Exist(predicate); }
I would be very grateful if you can guide me
best regards
The text was updated successfully, but these errors were encountered: