I am using VS 2013 C# Entity framework 6.0.0.0 Code First. I have Class like this below.
public class Om_Category
{
public DateTime CreationDate { get; protected set; }
}
So far I am manually assigning the DateTime.Now value to this Property.
I found many articles on Google that only says to use Migration.
Is there any way in EF Code First Fluent API with which we can set the default value(getdate()) for CreationDate Column while model generation ?