Hi Paven,

This is not compile error, this is runtime error. I got this while i try to
use linq to query name contains (.NET core)

On Sun, Sep 9, 2018 at 5:29 PM Pavel Tupitsyn <[email protected]> wrote:

> Hi,
>
> Do you mean that you can't compile the code?
> It certainly compiles (under full .NET, .NET Core, and Mono, on Windows and
> Linux), so it seems like some issue with your environment.
> Can you do a fresh git checkout, then run `build.bat`?
>
> Pavel
>
> On Fri, Sep 7, 2018 at 5:16 AM Tâm Nguyễn Mạnh <[email protected]
> >
> wrote:
>
> > Hi,
> >
> > There are more than 1 Contains method for string, that lead into
> Ambiguous
> > exception
> >
> > modules\platforms\dotnet\Apache.Ignite.Linq\Impl\MethodVisitor.cs:57
> > ``` C#
> > GetStringMethod("Contains", del: (e, v) => VisitSqlLike(e, v, "'%' || ?
> ||
> > '%'")),
> > ```
> >
> > I think it should be:
> > ``` C#
> > GetStringMethod("Contains", del: (e, v) => VisitSqlLike(e, v, "'%' || ?
> ||
> > '%'"), argTypes:new []{typeof(string)}),
> > ```
> >
> > --
> > Thanks & Best Regards
> >
> > Tam, Nguyen Manh
> >
>


-- 
Thanks & Best Regards

Tam, Nguyen Manh

Reply via email to