Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calculating which recurring events happen in a date range
Message
De
17/06/2010 22:14:42
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
LINQ
Titre:
Calculating which recurring events happen in a date range
Divers
Thread ID:
01469538
Message ID:
01469538
Vues:
122
I was going to do some ugly processing with loops, but I figured maybe Linq could help me out.

RecurringEvents
ID (PK)
StartDate (datetime)
RecurrenceDays (int)

How can I calculate which of these recurring events happen within a specified date range. Linq's gotta have some sexy method that will do this easily...
Very fitting: http://xkcd.com/386/
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform