Patitionkey と Rowkey を使用して、Azure テーブルから単一のエンティティを取得しようとしています。ここで直面している問題は、一致する Partitionkey または Rowkey がない場合に null を返さないことです。
MyRecordsTable specificEntity =
(from e in serviceContext.CreateQuery<MyRecordsTable >("MyRecordsTable ")
where e.PartitionKey == pkey && e.RowKey == rkey
select e).FirstOrDefault();
次のリンクを参照しましたが、一致しない場合は null を返す必要があると書かれています。しかし、例外が発生しています ( An error occurred while processing this request.
) 内部例外はNo resource found.
http://www.windowsazure.com/en-us/develop/net/how-to-guides/table-services/#header-11