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