Skip to content

Instantly share code, notes, and snippets.

@cdeutsch
Created November 21, 2013 18:02
Show Gist options
  • Select an option

  • Save cdeutsch/7586489 to your computer and use it in GitHub Desktop.

Select an option

Save cdeutsch/7586489 to your computer and use it in GitHub Desktop.
from c in charges
from componentVersion in allComponents
where c.Timestamp.Month == Month
&& c.Timestamp.Year == Year
&& !c.Refunded
&& !c.ChargeSource.Equals ("comp", StringComparison.OrdinalIgnoreCase)
&& c.ComponentID == componentVersion.ID
orderby c.Timestamp descending
select c;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment