6
我在我的订单中放了什么?我想按名称订购。我已经移动了命令,因为我读了它需要最后完成。如何使用匿名类型获取我的订单?
var result = (from r in db.RecordDocs
where r.RecordID == recordID
select new
{
DocTypeID = r.Document.DocType.DocTypeID,
Name = r.Document.DocType.Name,
Number = r.Document.DocType.Number
}
).Distinct().OrderBy();
谢谢,我正试着做name => name – ScottG 2008-10-31 19:08:28