DPR77

Results 3 comments of DPR77

In my case this error was appeared when i set in my update function in repository class, argument with object type `Update(object model)` I just changed to generic `Update(T model)`...

No, but i finally solved it adding " where T : class": public void EasyUpdate(T obj) where T : class { using (SqlConnection connection = new SqlConnection(myConnectionString)) { connection.Update(obj); }...

I am using 2.0.30 and had this issue until modified the function as I describe above