I am using ASP.NET MVC4 with Entityframework.
Does Entityframework supports new Time datatype of SQL.
Thank you
Yes it is supported. If you have table which uses Time
SQL type it will be recognized as EDM.Time
and generated entity will use TimeSpan
as property type. In the same way it works with code first approach. If you map property with TimeSpan
type the table will contain SQL Time
column.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With