mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-04-22 10:42:52 +08:00
Merge pull request #950 from wizcabbit/master
修复 IEnumerable.GetEnumerator 没有实现的问题
This commit is contained in:
commit
36d648c64b
@ -40,7 +40,10 @@ namespace FreeSql.Extensions.Linq
|
||||
yield return item;
|
||||
}
|
||||
}
|
||||
IEnumerator IEnumerable.GetEnumerator() => throw new NotImplementedException();
|
||||
IEnumerator IEnumerable.GetEnumerator()
|
||||
{
|
||||
return (IEnumerator)GetEnumerator();
|
||||
}
|
||||
|
||||
public Type ElementType => typeof(QueryableProvider<TCurrent, TSource>);
|
||||
public Expression Expression => _expression;
|
||||
|
Loading…
x
Reference in New Issue
Block a user