I have an example class book:
book
public class Book { [Key] public int Id { get; set; } public string Name { get; set; } public Date
If migrations are enabled you can also adjust stuff right there.
public override void Up() { CreateTable( "dbo.MyTable", c => new { Date = c.DateTime(false, 7, storeType: "datetime2"), }); }