check this: How to set default value for POCO's in EF CF?
You can do this through Migration step.
public class Test
{
(...)
public bool TestProperty { get; set; }
(...)
}
public partial class AddTestClass : DbMigration
{
public override void Up()
{
CreateTable(
"Test",
c => new
{
(...)
TestProperty = c => c.Boolean(nullable: false, defaultValue: false)
(...)
})
(...)
}
public overide void Down()
{
// Commands for when Migration is brought down
}
}
`