Linq中类型转换

var BusDebts = db1.BusDebts.Where(s => s.BusOpt >= dts && s.BusOpt < dte && s.AreaName.Contains(AreaName) && s.FarmerName.Contains(FarmerName) && s.DebtType.Contains(DebtType) && System.Data.Objects.SqlClient.SqlFunctions.StringConvert((decimal)s.ID).Contains(ID)).OrderByDescending(s => s.BusOpt);

上一篇:JQuery autocomplete获得焦点触发弹出下拉框


下一篇:GNU/Linux-MariaDB