摘要:
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; namespace Interfaces_Helper { public delegate string DoHandler(string HttpItemXml); ... 阅读全文
摘要:
select T.*,P.ProductName from (select V.CompanyID,C.CompanyName,V.ProductCode from VehicleInsuranceAgentConfiguration V inner join Company C on V.CompanyID = C.CompanyID where V.IsDelete=0 and V.Ho... 阅读全文
摘要:
1: SELECT TOP 1 P.* FROM [ProxyServer] P JOIN (SELECT RAND()*100 AS Nid) T ON P.[Id]>T.Nid WHERE P.Cookie'' and P.CompanyID=1069 and P.ProductCode='TPCX'2: SELECT TOP 1 * FROM [ProxyServer] WHE... 阅读全文
摘要:
//查询List是否含有某个值 bool IsContains = Lists.Exists((x)=>x=="B11"); //List重新排序 List arr = new List() { 11, 2, 13, 4, 5, 6, 7 };//1. var re =arr.OrderBy(g => g);//2. var ree = from g in arr orderby g... 阅读全文