views:

86

answers:

3

The Database Forge Class contains functions that help you manage your database.

It can:

  • Create or drop a database
  • Add fields and keys
  • Create, drop and modify a table

I was wondering if anything like that existed for C# or .Net.

Otherwise, I think I have a little project on my hands.

+1  A: 

Microsoft ADO Ext. implements that functionality... see Create Database Using C#, but it is a COM component may be managed one will be valuable

ArsenMkrt
+1  A: 

Maybe you can help the library to work with DataBases from CodeProject: Database Utilities for C#

DreamWalker
Considering there hasn't been any update since January 2008, I'm gonna pass on it.
GoodEnough
A: 

I just found the perfect thing. The only minor drawback is that it is limited to Microsoft SQL Server.

The thing is called SQL Server Management Objects and here are two good tutorials:

GoodEnough