The project I am working on currently is connecting to and OData service to retrieve data from an Oracle database. Using LINQPad I can execute the query, and return the data that I'm expecting. The problem I am running into with LightSwitch is working with a composite key.
Here is the LINQ statement I am using:
from s in SYP_PROJECTS
where s.SYP_PRO_DISTNO == 5
where s.SYP_PRO_ITEMNO == Decimal.Parse("15.1")
select s
How can I use a LINQ statement against a datasource with Composite Keys, and pass in paraments from LightSwitch?