Classes and methods should be small. Preferably not longer than one screen size. Use the single responsibility principle to achieve this - a class should only be responsible for doing one thing = one public method (except from method overloads and facade classes).

Wednesday, February 15, 2012

FluentData is a new open source Micro ORM framework that makes it easier than ever to query a database.

The existing ORMs frameworks on the market such as Entity Framework and NHibernate are overly complex and difficult to learn. The generated SQL from those frameworks are poor due their own abstracted query language and mapping from the database to .NET objects is difficult.

FluentData takes a different approach by being a lightweight framework with a simple fluent API that is easy to learn. Mapping between the database and .NET objects are simple and by using SQL which is the best database query language around you get fast and efficient queries.