0

Datetime usually is define as datetime.

What if I want a column for just date and another column for time?

Can I define [date] or [time]?

1 Answer 1

1

Out of the box - no. While sql has datatypes date and time you can extend entity framework http://msdn.microsoft.com/en-us/library/vstudio/dd456844(v=vs.100).aspx with datatypes [Date] and [Time] or implement logic splitting DateTime in two values.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.