Archives for: "November 2010, 20"
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: Codepublic class HibnerateRepository<TEntity, TId> : IRepository<TEntity, TId> ...... public IList<TEntity> GetAll() That sounds alright, but I got an Error Message :"The type 'TEntity' must be a… more »