Synergi LINQ Provider Prototype

var query1 = from c in ctx.QuerySynergi
where c.ImportDatabaseID == 2
&& c.CaseTypeD == "Audit p%"
&& c.StatusD == "Registered"
&& c.PersonInChargeD == "%extensive%"
&& c.UnitInChargeD == "Unit 0%"
orderby c.CaseNo ascending
select c;
var query2 = from c in ctx.QuerySynergi
where c.ImportDatabaseID == 2
&& c.CaseType == 115
&& c.Status == 1
&& c.PersonInCharge == 3
&& c.UnitInCharge == 1
orderby c.CaseNo ascending
select c;
Both code snippets produce the same result.
The LINQ provider is not finished yet. There are still a lot more search parameters to add to it, but it is a good example of a LINQ prototype for Synergi.