Posted on

 

Unfortunately Azure API not supporting Contains LINQ expressions .

 

Contains Syntax:

LINQ

public static Product[] GetProducts(Guid[] prodIDs)

{

   return (from p in GetProducts()

where prodIDs.Contains(p.ProductID)

select p).ToArray<Product>();

}

TSQL expression  – WHERE [t0].[ProductID] IN (@p0, @p1)’,

LINQ contains syntax example has been taken from