I wonder if I could expose a web method with Func parameter!
[WebMethod]
public List<Entity> ReadEntities(Func<Entity, bool> predicate)
{
    using (var entities = new GwEntities())
        return entities.Entities.Where(predicate).ToList();
}
When I tried to update the web reference I had an exception from Visual Studio that:
System.Func[GwModel.Entity,SystemBoolean] caonnot be serialized because it does not have a parameterless constructor
Any workaround please!
 
     
     
     
    