asp.net mvc - Why Does SQL Azure Time(3) datatype render as TimeSpan in MVC? How do I handle these fields? -


trying learn mvc.

i have existing sql azure database. several fields in different tables defined time(3), not null

when try use fields in mvc app, converted (interpreted?) timespan.

why that?

how can these fields recognized times, not durations? have alter fields in sql azure tables? pita, doable.

thanks.

the .net framework not have time datatype. time variables converted system.timespan variable explained in article. (the article provides table of mapping happens between sql server , .net framework).


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -