Missing map from Nullable`1 to String. Create using Mapper.CreateMap<Nullable`1, String>. 解决办法
2017-02-28 10:26
519 查看
这是一个叫做AutoMapper的插件,主要功能是让两个类的内容进行映射,最常见的例子就是EF查询出的内容映射到一个实体类上去然后返回这个实体类例如:
Mapper.CreateMap<查询出的类, 要映射并且返回的类>();
如果这时出现
Missing map from Nullable`1 to String. Create using Mapper.CreateMap
Mapper.CreateMap<查询出的类, 要映射并且返回的类>();
如果这时出现
Missing map from Nullable`1 to String. Create using Mapper.CreateMap
相关文章推荐
- IOS Assigning to 'id<Delegate>' from incompatible type...解决办法<CALayerDelegate>
- web.xml is missing and <failOnMissingWebXml> is set to true 错误解决办法
- cygwin安装问题“unable to get setup.ini from<....>”的解决办法
- maven项目出现web.xml is missing and <failOnMissingWebXml> is set to true错误的解决办法
- maven项目出现web.xml is missing and <failOnMissingWebXml> is set to true错误的解决办法
- svn: Can't convert string from 'UTF-8' to native encoding 的解决办法
- svn: Can't convert string from 'UTF-8' to native encoding 的解决办法
- Assigning to 'id<QMapViewDelegate>" from incompatible type "view control * const_strong"
- “warning C4251::CStringT<BaseType,StringTraits>需要有 dll 接口”解决办法
- Press<F1>...<F12>missing operating system的解决办法
- IOS解析json报错-[__NSCFString objectFromJSONString]: unrecognized selector sent to 解决办法
- svn: Can't convert string from 'UTF-8' to native encoding 的解决办法
- The method contains(CharSequence) from the type String refers to the missing type CharSequence错误解决方法
- "std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::str() const"问题的解决办法
- 关于Grails在输入命令出现Regression in verifier for <init> method call from inside of a branch的BUG解决办法
- Type mismatch: cannot convert from Enumeration<String> to Enumeration<Object>
- Notes on <Understanding AJAX: Using JavaScript to Create Rich Internet Applications>
- -[__NSCFString objectFromJSONString]: unrecognized selector sent to 解决办法
- IOS解析json报错-[__NSCFString objectFromJSONString]: unrecognized selector sent to 解决办法
- Django admin 保存unicode报错 <MySQL“incorrect string alue” error > 解决办法