CodeFluent Entities Documentation
CodeFluent Entities
Send comments on this topic.

Glossary Item Box

CodeFluent Entities

CodeFluent Entities is a product integrated into Visual Studio 2008 SP1/2010/2012, also available as a standalone command line tool, which allows developers to generate components such as scripts (e.g. T-SQL, PL/SQL), code (e.g. C#, VB), web services (e.g. WCF, ASMX) and UIs (e.g. ASP.NET, SharePoint, WPF).

The code generation process is model-first and continuous: from your declarative model, a meta-model will be inferred which code generators will then translate into code. Over 20 code generators (a.k.a. “producers”) are provided “out of the box” and can be combined to create your own application following your desired architecture, using your desired technologies.  


Database Generation

CodeFluent Entities provides code generators such as the SQL Server Producer, the Oracle Database Producer and the SQL Azure Producer to translate your model into a complete database: namespaces become schemas, entities become tables, properties become columns, methods become stored procedures, views into actual SQL views and so on. 

Made changes to your model? Not a problem, generate over again to update all your layers including your database.

The database will be updated without dropping data or custom code. Data access is done using human readable stored procedures (no dynamic code!) making easy to debug and highly predictable. Moreover, if desired, you can customize those stored procedures, implement custom naming conventions making it a very DBA-friendly tool


Domain Model Generation

Use the Business Object Model Producer to translate your model in an actual .NET object model: entities will become classes, properties will become properties, methods will become methods and so on. 

The generated .NET classes do not derive from a base technical class and are all partial classes so you can extend them easily without losing your changes.

Absolutely no dynamic code is created to keep the code simple, predictable and dev-friendly to debug.

Last but not least, the generated classes can be used across all .NET technologies (e.g. WinForms, WPF, ASP.NET Web Forms, ASP.NET MVC, SharePoint, WCF, WorkFlow, Silverlight). 


Back-Office Generation

CodeFluent Entities is not an ORM: it does not generate mapping code but translates a platform independent model into actual code thanks to code generators (a.k.a. “producers”). 

More than 20 producers are provided out-of-the-box (and by the way, you can also write your own ;) ). CodeFluent Entities provides producers allowing to generate entire fully functional UIs (SharePoint, Office Lists, WPF, ASP.NET Web Forms, ASP.NET jQuery, ASP.NET MVC, Windows 8). 

You can also use the WCF Service Object Model Producer to build entire Web APIs so you can focus on building your app (e.g. Windows 8, iPhone, Windows Phone, Androïd). 


CodeFluent Entities documentation


Introducing CodeFluent Entities

A quick overview of CodeFluent Entities (e.g. features, requirements, installation, support).


Development Tools

This section provides information on each of the tools shipped along CodeFluent Entities.


Architect Guide

The Architect Guide contains detailed information of all concepts (e.g. Entities, Properties, Rules, Producers) you’ll need to design your application.


Developer Guide

A guide providing information on how to consume CodeFluent Entities outputs for developers in charge of developing client applications.


Reference Guide

Contains an exhaustive documentation of the complete schema.



Contains step by step examples to create applications using CodeFluent Entities.


Technical Articles

Contains technical articles related to the product.


White Papers

This section contains official SoftFluent white papers.