摘要:
今天遇到一个要List要把某一个字段特定的一个值排到最前面的需求。 using System; using System.Collections.Generic; using System.Linq; namespace NetCoreConsoleApp1 { class Ad { public 阅读全文
摘要:
//获取上下文 var recordContext = _dbContext.Set<tenant_couponrecord>(); var groupByCoupon = (from r in recordContext where r.tenant_id == tenant_id && r.sh 阅读全文