Skip to content

Instantly share code, notes, and snippets.

@schotime
Created April 13, 2010 12:59
Show Gist options
  • Save schotime/364574 to your computer and use it in GitHub Desktop.
Save schotime/364574 to your computer and use it in GitHub Desktop.
var collection = new MongoCollection(tranny.TypeName, DB, DB.CurrentConnection);
var result = collection.Find(fly, tranny.Take, tranny.Skip);
// So that
IEnumberable<T> list = (IEnumerable<T>)result;
// Where T is the type is in the list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment