Skip to content

Instantly share code, notes, and snippets.

@dgg
Created August 30, 2013 11:12
Show Gist options
  • Select an option

  • Save dgg/6388820 to your computer and use it in GitHub Desktop.

Select an option

Save dgg/6388820 to your computer and use it in GitHub Desktop.
Model binding dynamic collections. IV Map non-deleted things
public static IEnumerable<Thing> ToThings(DeletableThing[] from)
{
return from
.NotDeleted()
.Select(st => st.ToThing());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment