views:

165

answers:

1

There's a way?

var customer = constructor.Entity<Customer>();
customer.Property(c => c.Date).DataType("smalldatetime");

THANKS IN ADVANCE

A: 
customer.Property(c => c.Date).HasStoreType("smalldatetime");
Kim Tranjan