RAD Studio is an open-source class object creator, stored procedure generator, and data tier creator for C# and other Visual Studio developers. RAD Studio reads the database schema for any SQL Server database and creates a class object for all tables in the database. RAD Studio creates a 100% stored procedure driven data tier that handles the full CRUD methods so you can focus on the business rules and functionality of your application or web project.
RAD Studio on CodePlex

CodeGen is an open-source SDK that enables developers to create C# open-source software, similar to SourceForge, but more .NET-oriented. Key features include:
- Multi-user interface with secure login and per project permissions;
- Proprietary code subversion: projects integrating multiple ASP.NET solutions, client forms, and the main server program;
- Proprietary data access layer: visual CAD for database elements, including visual query management;
- Internal task/bugs workflow components to integrate all developers (architects, developers, testers, business, quality);
- Internal document subversioning for all projects and departments;
- Project generation (automation) and version depot: easy branching, cloning, exporting, and importing (Open Source possibilities);
- Automated compiling the entire solution and database installation.
CodeGen on CodePlex
The open-source MS-SQL Code Generation Tool generates C# classes from an MS-SQL database. Each class is generated with the appropriate constructors, CRUD methods, and methods that fetch data according foreign keys. The tool includes profiling support and database preferences. DBLayer and type converter classes are included in the source code. .NET Framework 3.5 with SQL Server Management Objects (SMO) is required.
MS-SQL Code Generation Tool at CodePlex