I am using Sybase Advantage Database 9.1
and I try to use Lambda expression Contain method to retrieve data ,but it does not work.
var order = order.Where(x => x.name == "James");
it return 10 rows data.
but If I change to
var order = order.Where(x => x.name.Contains("James"));
it return 0.
x.name is string field.
anybody know why it happened?
How should I do to use Contain method?
thanks
I believe that support for the canonical function
Containswas added with changes for Entity Framework v4. That was in Advantage v10.x. Those changes were not merged back into the v9.x branch.