var collection = _database.GetCollection<SomeObject>("Records");
foreach (SomeObject s in collection.ToList())
anotherObject.SomeProperty = s.SomeProperty;
where anotherObject is not mapped to a MongoDb Collection I get an access
to the database everytime I try to read from anotherObject.SomeProperty,
which gives me a huge performance hit.
How can I get rid of this behaviour?
You received this message because you are subscribed to the Google Groups "mongodb-user"