1 【查询】数据正常 (手动将 guid 值.tostring()) 2 【更新】在更新数据前,已经将 guid.tostring() net ef savechange() 报错:not support this GUID cast 【问题解决】 使用连接串参数 varchar36ToGuid;该参数表示是否将数据库 varchar(36) 类型返回为 .net 的 Guid 类型。TRUE 表示返回 Guid 类型;FALSE...
This branch is7511 commits behindDotNetNext/SqlSugar:master. Folders and files Name Last commit message Last commit date Latest commit DotNetNext Remove nvarchar to guid check Nov 29, 2021 85ca336·Nov 29, 2021 History 4,101 Commits Src ...
Count == 0) { return this.ExecuteCommand() > 0; } var idValue = ExecuteReturnBigIdentity(); Check.Exception(identityKeys.Count > 1, "ExecuteCommandIdentityIntoEntity does not support multiple identity keys"); var identityKey = identityKeys.First(); object setValue = 0; if (idValue > ...