Data Tier Generator for C#

I currently tried to design a 3-tier Architecture website in .NET. (Not multiple projects)
Now I create a BLLUser.cs, DALUser.cs and MUser.cs classes and type the logic manually.
Start from GET SET properties for each field according the column in the database.
Do you know any tools able to create those code by type in the database table name? (Famous and experts recommended tools)
public class MUser
{

    private int id;
    private string username;
    private string password;
    private string email;

    public int ID
    {
        set { this.id = value; }
        get { return this.id; }
    }

    public string UserName
    {
        set { this.username = value; }
        get { return username; }
    }

    public string Password
    {
        set { this.password = value; }
        get { return this.password; }
    }

    public string Email
    {
        set { this.email = value; }
        get { return this.email; }
    }
}

Open in new window

bbkevinAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Luis PérezSoftware Architect in .NetCommented:
0
binaryevoCommented:
Why dont you give Microsofts Entity Framework a go.  It's cool and works wonders in terms of "creating the datalayer" per say.   See this link:  http://msdn.microsoft.com/en-us/library/aa697427(v=vs.80).aspx
0
bbkevinAuthor Commented:
I do not want the Visual Studio modify any data in the existing database.
Also, I am using SQL2005 without LINQ...
0
Build an E-Commerce Site with Angular 5

Learn how to build an E-Commerce site with Angular 5, a JavaScript framework used by developers to build web, desktop, and mobile applications.

binaryevoCommented:
How are you interacting with your data, stored procedures?  Entity framework can handle that.  Its up to you as the developer to interact with the data the way you want to.  This is still probably the quickest way to get the "DL" mapped and then you can utilze a Repository pattern to force rules on how you do the interaction with data.  There are a great many benefits to utilizing linq in the right context.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bbkevinAuthor Commented:
I found the following generators quite useful...
CodeAuthor
http://www.codeauthor.org/

MyGeneration
www.mygenerationsoftware.com
0
bbkevinAuthor Commented:
freeware is better...
Microsoft Entity framework cannot handle vendor-specific database.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Project Management

From novice to tech pro — start learning today.