Data Tier Generator

Generates SQL Server scripts for stored procedures and C# classes used to access those stored procedures. T-SQL and C# code generation are currently support for the following actions: * Insert * Update * DeleteByPrimaryKey * DeleteByForeignKey * SelectAll * SelectByPrimaryKey * SelectByForeignKey

Go to http://www.codeplex.com/DataTierGenerator

See also these related projects.