常用方法
常用方法
常用方法
常用方法
public IEnumerable <Invoice> GetInvoicesByPO(int POId) { return(invoicesRepository .SearchData(i => i.POId == POId) .Select(i => i.AutoMapObject <DB.Invoice, Invoice>()) .OrderByDescending(c => c.InvoiceId)); }