Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次の SQL クエリをラムダ式に変換できる人はいますか?
select MAX(orderid) from tblCustomers where parentid = 1002
ありがとう
C# の場合
var maxOrderId = db.tblCustomers .Where(c => c.parentid == 1002) .Max(c => c.orderid);