public static Statements.Statements from_collection( this MongoDatabase database, string collection_name ) { var query_settings = new QuerySettings(); query_settings.CollectionName = collection_name; query_settings.MongoDatabase = database; return new Statements.Statements( query_settings ); }
public static Update update( this MongoDatabase database, Guid id ) { var query_settings = new QuerySettings(); query_settings.MongoDatabase = database; query_settings.Id = id; return new Update( query_settings ); }
public static Into insert( this MongoDatabase database, object document ) { var query_settings = new QuerySettings(); query_settings.MongoDatabase = database; query_settings.Document = document; return new Into( query_settings ); }
public RemoveMatching( QuerySettings query_settings ) { this.query_settings = query_settings; }
public Into( QuerySettings query_settings ) { this.query_settings = query_settings; }
public Update( QuerySettings query_settings ) { this.query_settings = query_settings; }
protected Output matching( QuerySettings query_settings, IMongoQuery criteria ) { query_settings.Criteria = criteria; return new Output( query_settings ); }