Can we give a class name dynamically to Mapper to map from an object? Im expecting something like this.
Mapper.Map<Type.GetType("UserDTO")>(userObj);
so that i can pass any object and give a target class name to be mapped dynamically.
Aucun commentaire:
Enregistrer un commentaire