I have a generic class like
class EntityDao where T: class { void Update(T entity) { //Update entity to somewhere. } }