-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DbSessionExtensions DyUpdate是否可以考虑支持ExpandoObject或HashTable? #102
Comments
目前是支持字典类型的。 |
请问有使用示例吗?为什么我传入Dictionary型参数会报Exception如下 : ◢ | $exception | {"Common Language Runtime detected an invalid program."} | System.InvalidProgramException |
更新一下版本。v4.1.26 刚刚发布。 |
可以了,谢谢! |
场景是这样,从前台传过来的json使用JsonConvert.DeserializeObject转换后,调用DyUpdate出错。
var str = "{ "UserID": "00000000-0000-0000-0000-000000000000","UserName": "管理员","UserCode":"admin","UserAccount":"admin"}";
object model = JsonConvert.DeserializeObject(str);
sqlMapper.SessionStore.Open().DyUpdate(model);
The text was updated successfully, but these errors were encountered: