Kim*_*jan 3 c# ado.net code-first entity-framework-4 c#-4.0
有办法吗?以下不起作用:
var customer = constructor.Entity<Customer>();
customer.Property(c => c.Date).DataType("smalldatetime");
Run Code Online (Sandbox Code Playgroud)
customer.Property(c => c.Date).HasStoreType("smalldatetime");
Run Code Online (Sandbox Code Playgroud)