This Tool Generates Data Access Layer including respective stored procedures, associated Business layer and Entity layer class which is shared between both Data Access layer and Business Layer. It takes MSSQL connection string as input.
About C# Source Code Generator :
This Tool Generates Data Access Layer including respective stored procedures, associated Business layer
and Entity layer class which is shared between both Data Access layer and Business Layer.
It takes MSSQL connection string as input.
Benefits of using code generator:
1) Rapid Application Development. Saves lots of time.
2) It Uses Microsoft Application block which are optimised to transact with any database server with very less code.
3) All code is generated according to Microsoft coding standards.
4) No need to write stored procedures it generates for you.
5) Code is maintainable and standard
Prerequisite to Generate classes
.NET Framework 2.0,Microsoft Application blocks
Prerequisite to Use classes
Visual Studio 2005 ,Microsoft Application blocks
Enter Connection string in Connection string text Box
2) Enter location path where you want to generated file to be saved
3) Enter the desired root Namespace for all of your classes for ex. you can provide your company name or a project name etc.
4) Click "Connect to database " Button
5) Select the tables from the list and click "Generate Code " Button it will generate and save all the files to the provided location
download link http://www.codeproject.com/useritems/C__Class_Generator/CsharpCodeGenerator.zip
for complete source code mail me on pushkara@bitwiseglobal.com