且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用ToString()方法为一个整数转换成字符串中LINQ

更新时间:2023-01-08 16:11:59

我由内而外C#下面直接写入MySQL查询解决这个问题b

I resolved this issue by directly writing MySQl query inside C# as below -

string queryTemplate = 
 @"select inv.* from invoices as inv where userID = '123' and date like '%abc%'";
List<invoice> totalSearch = 
 context.ExecuteStoreQuery<invoice>(queryTemplate).ToList();