Error Message :"The type 'TEntity' must be a reference type in order to use it as parameter 'T' in the generic type or method 'XXXXX' (CS0452) -"
I got a line of code like this: public class HibnerateRepository<TEntity, TId> : IRepository<TEntity, TId> ...... public IList<TEntity>…
Read more