作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我有一个很大的 flinq 查询,除其他外,它返回一个对话开始的日期。我只想返回 2011 年 1 月 1 日之后开始的对话。
我有这样的事情:
conversation.TimeOfInitiation > "1-1-2011"
The type
System.Nullable<System.DateTime>
does not support the 'comparison' constraint. For example, it does not support the 'System.IComparable' interface
最佳答案
http://msdn.microsoft.com/en-us/library/72cec0e0.aspx
你必须得到值(value)。 Nullable 基本上是一个带有值的通用容器。
关于f# - 如何将从数据库返回的日期与日期(字符串或其他)进行比较?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4661938/
我是一名优秀的程序员,十分优秀!