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 );
		}
예제 #4
0
		public RemoveMatching( QuerySettings query_settings ) {
			this.query_settings = query_settings;
		}
예제 #5
0
파일: Into.cs 프로젝트: carlosjln/Mongo.DSL
		public Into( QuerySettings query_settings ) {
			this.query_settings = query_settings;
		}
예제 #6
0
파일: Into.cs 프로젝트: carlosjln/Mongo.DSL
		public Update( QuerySettings query_settings ) {
			this.query_settings = query_settings;
		}
예제 #7
0
		protected Output matching( QuerySettings query_settings, IMongoQuery criteria ) {
			query_settings.Criteria = criteria;

			return new Output( query_settings );
		}