views:

24

answers:

1

I have been looking into Code First with Entity Framework CTP4 and you can use the ModelBuilder to build up your table columns. Is there a way to set the default value for a column in the database using the ModelBuilder or some other mechanism?

Thank You!

+1  A: 

Couldn't find a way to add default value other than manualy edit via text editor / application This is a bug in the Entity Framework...

Tor
It there a way to set the default value but it doesn't work, a bug? Or is it just missing that feature altogether in the current version?
Lukasz
The fact it is missing that feature is the bug...
Tor