Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Time only portion of the date to use in LINQ query
Message
De
12/08/2015 04:34:15
 
 
Information générale
Forum:
ASP.NET
Catégorie:
LINQ
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01622912
Message ID:
01623169
Vues:
97
>>Maybe just retrieve the SQL data using the simple startdate-endate query then use linq to objects to filter the results on the remaining criteria.
>>If the number of records returned from the simple query is excessive then perhaps a CLR proc in SQLServer ?
>
>I found solution here http://stackoverflow.com/questions/10000338/using-datetime-value-timeofday-in-linq-query which I am trying now.

Interesting. Hadn't come across canonical functions. Let us know how you get on.....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform