SqlConnection connection = new SqlConnection(connectionString); Server server =
new Server(new ServerConnection(connection)); // Create table in my personal
databaseDatabase db = server.Databases["davidhayden"]; // Create new table,
called TestTableTable newTable = new Table(db, "TestTable"); // Add "ID"
Column, which will be PKColumn idColumn = new Column(newTable, "ID");
idColumn.DataType = DataType.Int; idColumn.Nullable = false; idColumn.Identity
= true; idColumn.IdentitySeed = 1; idColumn.IdentityIncrement = 1;
Original issue reported on code.google.com by cn.wei.hp@gmail.com on 5 Apr 2011 at 2:41
Original issue reported on code.google.com by
cn.wei.hp@gmail.com
on 5 Apr 2011 at 2:41