Search code examples
c#entity-framework-4entityctp4

Entity Framework Code First CTP4 Default Column Values?


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!


Solution

  • 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...