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 );
		}
Ejemplo n.º 4
0
		public RemoveMatching( QuerySettings query_settings ) {
			this.query_settings = query_settings;
		}
Ejemplo n.º 5
0
		public Into( QuerySettings query_settings ) {
			this.query_settings = query_settings;
		}
Ejemplo n.º 6
0
		public Update( QuerySettings query_settings ) {
			this.query_settings = query_settings;
		}
Ejemplo n.º 7
0
		protected Output matching( QuerySettings query_settings, IMongoQuery criteria ) {
			query_settings.Criteria = criteria;

			return new Output( query_settings );
		}