Allow mapping of dynamic types using AutoMapper or similar?

AutoMapper 4.2.0 now supports Dynamic/expando/dictionary mapping With this feature you can map to your expando objects to static types: dynamic CurUser = _users.GetSingleUser(UserID); var config = new MapperConfiguration(cfg => { }); var mapper = config.CreateMapper(); var retUser = mapper.Map<UserModel>(CurUser); Old versions of AutoMapper do not support this (Massive internally uses ExpandoObject which doesn’t provide which … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)