Recently, I had to write a free interface for C # that would essentially mirror SQL. Yes, I know LINQ to SQL, but I'm wondering how “closer to metal” is to have something that essentially provides nothing more than the Intellisensified SQL shim inside C #.
eg.
var fq = new FluentQuery();
Expression<Action> =
() => fq.SELECT.DISTINCT(Foo.ID).FROM(Foo).WHERE(Foo.Age > 22);
Now I thought that this concept could be generalized - that is, how about a common EBNF for a free generator interface? Does anyone know if such a beast exists?
source
share