CodeFluent Query Language is a specific language that specifically eases stored procedure creation, custom method and rule definition.
CFQL is platform independent and is therefore used to declare platform independent queries which will then be translated by producers in platform specific code.
For instance the Microsoft SQL Server producer translates those queries into T-SQL stored procedures, whereas the Oracle Database producer translates them into PL-SQL ones.
Furthermore, those SQL queries are also accessible in upper layers since the Business Object Model producer will generate a corresponding C# method, the Service Object Model subproducer a corresponding operation, and user interface producers a corresponding output.
Therefore, using CFQL is one of the means provided by CodeFluent Entities to decouple your business logic from technology, which in the end allows you to build more flexible applications.
In this section
- Overview: Check-out this article for transversal information.
CFQL covers the following main concepts:
- Load methods: CFQL allows to define custom load procedures signature and body.
- Search methods: CFQL allows to define custom search procedures signature and body.
- Count methods: CFQL allows to define custom count procedures signature and body.
- Delete methods: CFQL allows to define custom count procedures signature and body.
- Rule methods: CFQL V1.X only allows the creation of Rule or custom method signature (arguments, return type, implementation type, ...) definition. CFQL may be extended in the future to give the ability to define rule body. Currently, rule body must be implemented in a .NET class that support the CodeFluent.Runtime.Rules.IMethod interface.
- CFQL Operators: all operators available in CFQL.
![]() |
Note: More information and examples can be found in the Architect Guide, and more especially in the Methods chapter. |
Formal Grammar
The complete CFQL Formal Grammar is available here.
Architect Guide
Methods
