CodeFluent Entities

Turn your business into code

Create high-quality software always aligned with your business

CodeFluent Entities is a .NET application modeling and generation tool, fully integrated in Visual Studio (2008 to 2017). If you like to start from a visual model rather than dive in code first, if you like to focus on business code rather than continuously write plumbing code, this is for you.

It is packed with features ready to use such as fully human-readable generated code, extensibility, data paging, multiple database connectors…
It comes in two flavors : standard for free (described in this page) with optional add-ins and the Ultimate edition.

Model your business Leverage the graphical modeler to define your business model in a centralized place
Define your foundations Generate a direct translation of your model into ready-to-use data and business layers
Develop your applications Build modern applications by focusing on your high-value custom code

Model your business

Leverage the centralized platform-independent model describing your business application thanks to the Visual Studio integrated Modeler.


Transform your business into a model using a natural and visual modeling approach. You don't need to learn anything to start.

Visual Studio Integration

The graphical modeler is fully integrated in Microsoft Visual Studio (from 2008 to 2017).


Apply application-wide changes in a few clicks such as cache and naming conventions.

Absorb functional changes

Improve your agility by accepting model changes at any time.

Import your database

Create your model in minutes by importing your existing database schema and data.

Define your foundations

From your business model, CodeFluent Entities generates Transact-SQL scripts and C# code. Focus on what makes the difference.

Classic development model
CodeFluent Entities
Your App Logic Web, Components, Services
Data Access Layer Plumbing code and business behaviors
SQL Server Persistence Layer Schema and stored procedures
Generated code
Your code


No code generated at runtime, everything is human-readable and can be changed if needed.

Reduce dependencies

Minimize heavy plumbing work and internal framework development.

Continuously generate

Update your model and ensure consistency across all layers.

Minimize risk

Less manual code means fewer bugs and effortless maintenance.


Generated code is composed of partial classes. Extending it is nothing more than standard .NET development.

Incremental updates

The Microsoft SQL Server differential engine enables hassle-free schema updates without losing any data.

Develop your application

Create your application by using the generated data access layer composed of .NET classes.

Simple and reliable

CRUD operations and validation are supported out-of-the-box and without a single line of code.

Paginate your data

All the loading methods support server-side paging.

Data Access Layer

Simplified access to data stored in your SQL Server storage.

Database sorting

Sorting is done in the persistence layer to ensure optimal performances.

Customer customer = Customer.LoadbyName("Contoso");
customer.IsProspect = false;

Getting started

1Get your free CodeFluent Entities license

Get Free Key

2Download and install the Visual Studio 2017 Ready extension

Download CodeFluent Entities

3Create your first project

Open Visual Studio and create a new CodeFluent Entities project by selecting "File > New > Project". In the "New Project" dialog, in the left pane, select "CodeFluent Entities" and the "Blank CodeFluent Entities Model" template.

You can activate the product through the Activation Wizard which appears when using your first CodeFluent Entities project.

From the "Solution Explorer", in your project, expand the "Surfaces" node and double-click on the default surface named "Default" and add your first entities.

4Generate your foundations

Now that you have a model representing your business, you need to configure two differents code generators to define your foundations :

  • The SQL Server Producer which generates and deploys T-SQL scripts that you'll use to create our persistence layer,
  • The .NET Business Object Model Producer which generates a set of .NET classes allowing us to manipulate database objects

Get more details

5Set up your configuration file

Declare a new configuration section with a section name matching your default namespace and set up your connection string.

                                    <section name="MyDefaultNamespace"
                                    type="CodeFluent.Runtime.CodeFluentConfigurationSectionHandler, CodeFluent.Runtime" />
                                    <MyDefaultNamespace connectionString="database=[MyDatabaseName];server=[ServerName];Trusted_Connection=true" />

System Requirements

IDE Support

  • Microsoft Visual Studio 2008 SP1, 2010, 2012, 2013, 2015 and 2017
  • Beta and RC versions of Visual Studio are not officially supported

Operating System Support

  • All Windows versions which support .NET 4+ (Windows 10, 8, 7, Vista, XP SP2, 32bit and 64bit)
  • For Azure applications: Windows Azure SDK 1.3+


  • .NET Framework 2.0 and upper
  • SQL Server Producer require SQL Server 2005 or upper


Peter Stanford - Artefaction

SoftFluent sales staff have been responsive without being pushy and it’s refreshing to find a company that knows the quality, support and productivity improvements available through their product is more important to customers than anything else

Dirk Strauss

The time that this tool saves me is enormous. It is truly a tool that every developer should consider using. From a model to a database to business object code to persist data in a matter of an hour is stunning

Mykola Dobrochynskyy

I enjoy the product - CodeFluent Entities. It exceeds my expectations (i.e. by providing a XMI-Import capability) and actually offers more features I'd think it would capable to do. I'd recommend the product to all the developers and/or archtitects, who don't argue whether or not the MDD makes a sense, but actually apply a "model-first" approach in their project. In other words, I'd recommend the product to all MDD-practitioners