1

I'm trying to add a new column to ProjectRecord table and i want to allow null values, Code:

SchemaBuilder.AlterTable("ProjectRecord", table => table.AddColumn("Related", DbType.Int32));

Thanks.

Krbnr.

4

1 回答 1

3
.AddColumn<int>("Related", c => c.Nullable())
于 2013-04-27T00:40:02.683 回答