LinqKit有一个延伸方法ForEach
>:IE amountable
,与System发生冲突。 收集。 Generic.IE amountable
。
Error 4 The call is ambiguous between the following methods or properties:
LinqKit.Extensions.ForEach<Domain>(System.Collections.Generic.IEnumerable<Domain>, System.Action<Domain>)
and
System.Linq.EnumerableExtensionMethods.ForEach<Domain>(System.Collections.Generic.IEnumerable<Domain>, System.Action<Domain>)
How can I get rid of this error?