문제

I haven't been able to find a .NET (c#) CQL parser, despite my best Googling efforts. Anyone have one they'd be willing to share, or know if one exists? Thanks!

도움이 되었습니까?

해결책

If found this project (NCql) written in c#.

다른 팁

Writing your own parser should be easy enough, at least looking at the syntax. But the parser isn't the hard part -- the real work begins in translating query expressions to equivalent syntax in other data sources.

If I were tasked with finding a solution here, an approach I would explore:

  1. Write the CQL parser
  2. Create a translation layer to incorporate LINQ
  3. Add-in LINQ libraries (LINQ for SQL, LINQ for Objects, LINQ for yada-yada-yada)

As always, your mileage may vary.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top