【发布时间】:2011-07-23 22:49:36
【问题描述】:
我在 codeplex 上使用 Windows Azure Toolkit 产品。它看起来非常适合满足我的需求,但那里的例子很少。特别是有一种从 Azure 表中获取数据的方法:
public virtual T Get(Expression<Func<T, bool>> predicate)
{
return this.Query.Where(predicate).FirstOrDefault();
}
问题是工具包中没有示例,我无法理解参数是什么:
(Expression<Func<T, bool>> predicate)
应该看起来像。
有没有了解 Linq 和 C# 知识的人可以给我一些可以尝试的建议或建议。
提前致谢,
【问题讨论】:
标签: c# linq azure-storage