Click here to Skip to main content
Click here to Skip to main content

Generate SQL Azure Databases

Industrialize your application developments using CodeFluent Entities

Editorial Note

This article is in the Product Showcase section for our sponsors at CodeProject. These reviews are intended to provide you with information on products and services that we consider useful and of value to developers.

What is CodeFluent Entities?

CodeFluent Entities is a model-first tool integrated with Visual Studio 2008/2010, for continuous generation of all layers and their plumbing code: database, business, service and user interface.

Define your business logic in its centralized model, choose your target platforms and technologies, and generate. Generation is a continuous process throughout developments: you can do it as much as needed, without ever losing existing data. The generated code is standard .NET, so extending and using it is absolutely standard .NET developments. In practice, developing an application using CodeFluent Entities is as follow:

  • Define your business logic in a pragmatic model using platform independent concepts such as Entities, Properties, Methods, Rules, etc.
  • Define producers which from your model will generate actual code. Each producer generates optimized code for a single technology (e.g. SQL Server, Oracle, C#, WCF, SharePoint, SQL Azure, etc.)
  • The generated code is state-of-the-art code: plain old partial classes easily extensible, implementing an extensive set of well-known interfaces to make your life easier.
  • Since the generated code is standard .NET code, nothing specific to CodeFluent Entities is needed afterwards: use it, compile it and run it as usual.
  • A structural change is needed such as adding a new entity, changing a type or adding a feature such as localization or security? Update your model and generate over!

image001.png

In the end, CodeFluent Entities provides a recipe that will help you quickly raise rock-solid foundations, and successfully craft the rest of your .NET applications, letting you focus on what truly matters.

What is Microsoft SQL Azure?

Microsoft® SQL Azure™ Database is a cloud-based relational database service (RDBMS) built on SQL Server® technologies. It is a highly available, scalable, multi-tenant database service hosted by Microsoft in the cloud. SQL Azure Database helps to ease provisioning and deployment of multiple databases. Developers do not have to install, setup, patch or manage any software, as all that is taken care of by Microsoft with this platform as a service (PAAS). High availability and fault tolerance is built-in and no physical administration is required.

For more information please refer to Microsoft’s official SQL Azure website.

The SQL Azure Producer

The SQL Azure producer translates your model into Microsoft SQL Azure compliant T-SQL scripts to generate a SQL Azure database. This way entities will become tables, properties become columns, methods translated into stored procedures, and so on. Furthermore, the generated scripts can be deployed automatically on the SQL Azure database.

In addition, you can work locally using the producer to generate on a local or on-premise Microsoft SQL Server database. In this scenario, the SQL Azure producer generates 100% compliant code on both platforms. Moreover, when generating on a Microsoft SQL Server instance, the producer detects it and will use a differential engine which will update the database through generations rather than dropping and creating it over, this way ensuring you’re not losing any data during your developments. This differential engine is in fact a key feature since it allows developers to generate continuously, this way preserving the cyclic aspect of an application development lifecycle as described earlier.

Finally, once the application is ready to go live, the developer can indicate the producer in a single click to deploy the scripts on the online SQL Azure database.

Demo

You can see full-featured demos by watching these videos:

Get Started

Try it yourself: download CodeFluent Entities and start building your application!

Additional resources

CodeFluent Entities blog http://blog.codefluententities.com
CodeFluent Entities videos http://www.youtube.com/softfluent
CodeFluent Entities forums http://forums.softfluent.com/default.aspx?g=topics&f=4
CodeFluent Entities documentation http://www.codefluententities.com/documentation
CodeFluent Entities and Windows Azure BLOB storage http://codefluententities.wordpress.com/2011/03/23/windows-azure-blob-storage-support/

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

carl.b.anderson
Software Developer SoftFluent
France France
Carl Anderson is a .NET consultant at SoftFluent. You can contact him at carl "dot" anderson "at" softfluent "dot" com.

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Mobile
Web02 | 2.8.140721.1 | Last Updated 12 Aug 2011
Article Copyright 2011 by carl.b.anderson
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid