DbRawSqlQuery<TElement>.ToDictionaryAsync 方法
包括受保护的成员
包括继承的成员
[本页针对的是实体框架版本 6。最新版本以“实体框架”NuGet 包的形式提供。有关实体框架的更多信息,请参见 msdn.com/data/ef。]
通过异步枚举它根据指定的键选择器函数从查询创建字典。
重载此成员。有关此成员的完整信息(包括语法、用法和示例),请单击重载列表中的相应名称。
重载列表
|
ToDictionaryAsync<TKey>(Func<TElement, TKey>) |
通过异步枚举它根据指定的键选择器函数从查询创建 Dictionary<TKey, TValue>。 |
|
ToDictionaryAsync<TKey>(Func<TElement, TKey>, IEqualityComparer<TKey>) |
通过异步枚举它根据指定的键选择器函数和比较器从查询创建 Dictionary<TKey, TValue>。 |
|
ToDictionaryAsync<TKey, TResult>(Func<TElement, TKey>, Func<TElement, TResult>) |
通过异步枚举它根据指定的键选择器函数和元素选择器函数从查询创建 Dictionary<TKey, TValue>。 |
|
ToDictionaryAsync<TKey>(Func<TElement, TKey>, CancellationToken) |
通过异步枚举它根据指定的键选择器函数从查询创建 Dictionary<TKey, TValue>。 |
|
ToDictionaryAsync<TKey>(Func<TElement, TKey>, IEqualityComparer<TKey>, CancellationToken) |
通过异步枚举它根据指定的键选择器函数和比较器从查询创建 Dictionary<TKey, TValue>。 |
|
ToDictionaryAsync<TKey, TResult>(Func<TElement, TKey>, Func<TElement, TResult>, IEqualityComparer<TKey>) |
通过异步枚举它根据指定的键选择器函数、比较器和元素选择器函数从查询创建 Dictionary<TKey, TValue>。 |
|
ToDictionaryAsync<TKey, TResult>(Func<TElement, TKey>, Func<TElement, TResult>, CancellationToken) |
通过异步枚举它根据指定的键选择器函数和元素选择器函数从查询创建 Dictionary<TKey, TValue>。 |
|
ToDictionaryAsync<TKey, TResult>(Func<TElement, TKey>, Func<TElement, TResult>, IEqualityComparer<TKey>, CancellationToken) |
通过异步枚举它根据指定的键选择器函数、比较器和元素选择器函数从查询创建 Dictionary<TKey, TValue>。 |
顶部
请参阅
参考
DbRawSqlQuery<TElement> 类
System.Data.Entity.Infrastructure 命名空间