C# Code Generator by Gfw


Skip Navigation LinksClass Generator Home
Server Name:  
UserID:  
Password:  
Database:  
Connection:

C# Class Generator Class Type #1 creates a C# class from a SQL database table. The class will have protected variables and public properties for each database column. Also created are the database Add, Update, Select and Delete functions. The Add function will automatically set the Class Id column based on the @@identity value. Limitations include the necessity of having an int or bigint Auto Increment field of any name, and setting its properties to auto increment and no null.

C# Class Generator Class Type #2creates a C# class from a SQL database table. The class will have protected variables and public properties for each database column. Also created are the database Add, Update, Select and Delete functions. This class is provider independent and requires code that we have not released for download - this class supports (with limitations) both SQL and OleDb for Access in the same code. Transactions are also supported.

C# Linq Class Generator Class Type #3 creates a C# Linq class from a SQL database table. The class will have protected variables and public properties for each database column. Partial methods are also created for Rule Validation.

The C# Form Generator will generate a basic input form for each column in an SQL database. Currently you can optionally select to use a required validator, the type of control (textbox, dropdownlist or checkbox) and one of several expression validators. This page also generates two functions named GetControls(ClassName Cls) and SetControls(ClassName Cls) that can be used to transfer data from the class to the controls and back to the class.

 Last Updated 9/23/2008 (Modified for .Net 3.5).

Copyright © 2010, yyyZ,Ltd. All rights reserved.