我正在尝试使用UI上的日期选择器过滤代码,该代码为我提供“mm / dd / yyyy”格式的数据,并且在更改时我调用具有数据作为时间戳的服务。如何在以下代码中过滤数据,其中日期等于在所选日期的任何时间。
例如:
string filterDate ="3/28/2016";
TableQuery<MyEntity> query = new TableQuery<MyEntity>()
.Where(TableQuery.GenerateFilterConditionForDate("Timestamp", QueryComparisons.Equal, Convert.ToDateTime(filterDate)));
答案 0 :(得分:1)
您可以将两个过滤器组合在一起:
TTS: Sorry, that content has an internal error.
RTSP MESSAGE(o): ANNOUNCE rtsp://localhost:9974/synthesizer/ RTSP/1.0 Cseq: 11 Session: b5bdeff3d79236676847995d294d3445-9468 Content-Type: application/mrcp Content-Length: 649 SPEAK 946796007 MRCP/1.0 Kill-On-Barge-In: true Voice-Name: Allison-EnglishUS Speech-Language: en-us Vendor-Specific-Parameters: Voxeo-Resource="en-us.TTS.fc808afe12384bcb90415baee30fc0d7.Staging-Loquendo;plugin=vxttsloq7;speechLanguage=en-us;voiceName=Allison-EnglishUS;type=loquendo";Voxeo-Playback-Mode=VXML;Voxeo-Community-ID=f25af74e6f994e15ae7214ca83a2fcd9;Voxeo-Virtual-Platform=Staging-Loquendo;Voxeo-Site-ID=fc808afe12384bcb90415baee30fc0d7 Content-Type: application/synthesis+ssml Content-Length: 129 <?xml version="1.0" encoding="UTF-8"?> <speak version="1.0" xml:lang="en-us"> Sorry, that content has an internal error. </speak>
您可以查看DateTime.AddDays和Timestamp query in Azure了解详情。