public IMongoCollection <T> GetCollection <T>(string name = null) { lock (_types) { _types.Add(typeof(T)); return(CollectionWrapper <T> .GetInstance(this, name).GetCollection()); } }
public IMongoCollection <T> GetCollection <T>(string name = null) { lock (_types) { _types.Add(typeof(T)); return(CollectionWrapper <T> .GetInstance(this, name).GetCollection()); } }