Property Default Values and Enumerations
CodeFluent Entities defines the concept of “default value” for properties of any type, including value types and enums. Each property has two types of default values: the default value in the...
View ArticleCustom Sub Producer Example
There are several ways to add custom code to the generated code. You could simply do it by using Partial classes (which would be a manual action), Snippets or Aspects. But what if you wanted to add...
View ArticleCount and Delete methods now supported by Event Rules
Event rules are triggered upon a lifecycle event of a CodeFluent Entities concept allowing the developer to plug himself in the lifecycle (e.g. before saving an entity, or before the validation step)...
View ArticleNovember 23rd 2012 Links: Visual Studio 2012, .NET 4.5, Office 2013, IE10,...
Here is our new entry in our link-listing series: Windows 8 Windows 8 launched Windows 8 has been released. Windows Phone 8 launched Windows Phone 8 has been released. Microsoft Design Language: The...
View ArticleGenerating unit test skeleton using the Template Producer
We already introduced the Template Producer in a previous post with a small example showing how to generate a DGML graph from a CodeFluent Entities model. This post is another example to remind you how...
View ArticleUsing the SQL Server Template Producer to generate Clustered Indexes
In this post we’ll see how using CodeFluent Entities’ SQL Server Template Producer, you can generate SQL scripts using the built-in template engine whilst accessing the inferred meta-model, and then...
View ArticleCodeFluent Entities and JSON/REST
In a previous post we announced that CodeFluent Entities natively support JSON/REST. In this post we’re going to see how to take advantage of the generated JSON/REST architecture. Thanks to JSON WCF...
View ArticleNew Online Documentation Release: R17
New Online Documentation Release: R17 A new version (R17) of the product documentation was released! This new version includes: Additions: New articles: About Producers Automatic Traces Producer...
View ArticleWebsite Templates and Custom Renderers
There are basically two ways to customize web sites generated by CodeFluent Entities: 1) edit the generated files in place. The generated code is very readable, and by design easy to customize. 2)...
View ArticleWorking with both the cache sub producer and the localization aspect
Are you planning on using caching and localization for one of your CodeFluent Entities projects? If so, this article is for you. CodeFluent Entities comes with a sub producer that handles cache in a...
View ArticleUsing CodeFluent Entities x64 Tools
In addition to the Visual Studio Integrated Modeler, CodeFluent Entities provides a set of tools in the form of executable files (.exe). You can take a look in the installation directory of CodeFluent...
View ArticleGenerating JSON web services from an existing database with CodeFluent Entities
This article posted on CodeProject will show you how to generate a JSON base web service layer from an existing database using CodeFluent Entities. We will also generate a web client back office...
View ArticleNavigate To… is now supported by CodeFluent Entities
I don’t know you, but one of my favorite (and useful) commands in Visual Studio is the “Navigate to…” command (VS 2010 or higher), Menu->Edit->Navigate to… Or Ctrl+, (coma). This is one of my...
View ArticleHow to work with existing database tables with CodeFluent Entities
Did you know that you could use CodeFluent Entities to work with existing database tables, such as the sys.object table for example, with zero code, and without modifying them? In this post, we will...
View ArticleUsing ASP .NET Web API with CodeFluent Entities
This post will guide you in implementing a service layer over HTTP using ASP .NET Wet API and CodeFluent Entities. WCF is great to expose SOAP based web services and even JSON services. However WCF...
View ArticleGet started with the CodeFluent Entities API
The CodeFluent Entities API has been around for a while, and this post will help you get started with it! If I tell you that the API is very easy to use and extremely powerful, you will not believe me....
View ArticleUsing ServiceStack with CodeFluent Entities
In our last blog post we saw how to create a REST service layer using ASP .NET Web API and a CodeFluent Entities model. Now we are going to use ServiceStack to expose HTTP web services (JSON and XML)...
View ArticleManipulating NTFS alternate data streams in C# with the CodeFluent Runtime...
Have you already heard about NTFS alternate streams? Also known as named streams or ADS (Alternate Data Streams). Well it is a useful feature in NTFS storage systems. It expands the concept of file and...
View ArticleGenerate ASP .NET Web API Controllers using Templates
In a precedent post we have shown how to build an ASP .NET WebAPI Controller to access the generated Business Object Model (BOM). We saw how to implement manually a Web API Controller for one...
View ArticleRetrieve SQL Output parameters in your BOM with CodeFluent Entities
Let’s say you have an existing stored procedure that uses OUTPUT parameters to retrieve some data and you want to access it in your Business Object Model (BOM) as an object method. If you can...
View Article