cyqdata icon indicating copy to clipboard operation
cyqdata copied to clipboard

cyq.data is a high-performance and the most powerful orm.(.NET 最好用的ORM数据层框架,木有之一!支持.NET Core)Support:Txt、Xml、Access、Sqlite、Mssql、Mysql、Oracle、Sybase、Postgres、DB2、Redis、...

Results 38 cyqdata issues
Sort by recently updated
recently updated
newest added

/// /// Convert json to Entity List /// 将Json转换为实体列表 /// /// Type类型 public static List ToList(string json, EscapeOp op) where T : class { return JsonSplit.SplitList(json, 0, op);//减少中间转换环节。 // return...

{"ApiType":"InspectsController","Parameters":[{"Value":"2730003497"},{"Value":"CS-01"},{"Value":"2022080405528"},{"Value":"00049634"},{"Value":"321"},{"Value":"OK"},{"Value":"1"},{"Value":"0"},{"Value":[]}],"Method":"InspectsAndBathCheck","Context":{"InvOrgId":321}} 这个是对的格式,识别结果是 Tue {"ApiType":"InspectsController","Parameters":[{"Value":"2730003497"},{"Value":"CS-01"},{"Value":"2022080405528"},{"Value":"00049634"},{"Value":"321"},{"Value":"OK"},{"Value":"1"},{"Value":"0"},{"Value":[]}}}],"Method":"InspectsAndBathCheck","Context":{"InvOrgId":321}} 而在Method 前面加几个} ,用isjson 识别还是True

PagerBySelectBase MSSQL是否启用分页存储过程SelectBase,默认false 代码中这个开关注释了

RT ![image](https://user-images.githubusercontent.com/11883946/186078633-795faf2e-1de8-42e4-8f51-1bb3d5e92338.png) ![image](https://user-images.githubusercontent.com/11883946/186078691-817ff39a-24b3-49a5-9609-a05ed76f4042.png) AppConfig.IsAspNetCore=true,是否可以去掉了?

其实识别一个Json是否为合法的很简单的,利用栈的思想就可以了,例如:{“temp”:["id":“012”,“value”:"123"]}这个Json首先将第一个{入栈,然后判断下一个字符和栈顶是否相等,如果不相等且是[、]、{、}、这类符号,那么久继续入栈,然后接着判断是否和栈顶相等,如果相等,且是前面说的那些字符,就进行出栈操作,最后字符串判断完,就检查栈是否为空,如果不为空则Json字符串不合法

我的开发环境:vs2022 winform .net6 。用不了。

![image](https://user-images.githubusercontent.com/49714224/155964095-40827248-e10e-4268-b5f8-9374aeb5e2b5.png) 开发环境是:vs2022 winform .net6

![A}8J B1JGP3SDCHR})}6)PC](https://user-images.githubusercontent.com/98632153/153103152-57e5bb08-942f-4b2c-83ea-db87368b1bb9.jpg) NuGet里面引用的版本:V5.8.4.9

当我删除表中的数据之后查询出来的数据还是之前的数据

远程处理无法在类型“GSCSClient.TransportStatus”上找到字段“k__BackingField”。 CYQ.Data.AppConfig.SetConn("Conn", @"Data Source=gscs.db;failifmissing=false;"); using System; using CYQ.Data.Orm; namespace GSCSClient { public class TransportStatus : OrmBase { public TransportStatus() { base.SetInit(this, "transport_status", "Conn"); } public int ID { get; set;...