I suggest you ...

Date type for dates

System.DateTime maps to datetime2(7) in sql server wich is not optimal for storing date-only (without time) information.

SQL'92 has special Date type, for storing date-only.

It could be implemented by adding [DateOnly] or [DateWithoutTime] attribute for fields.

9 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    kl.vlad shared this idea  ·   ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base