コード例 #1
0
ファイル: QueryState.cs プロジェクト: 925coder/ravendb
	    public QueryState(QueryModel model)
	    {
			IndexName = model.IndexName;
			Query = model.Query;
			SortOptions = model.SortBy.Select(r => r.Value).ToList();
			
			if (model.IsSpatialQuery)
			{
				IsSpatialQuery = model.IsSpatialQuery;
				SpatialFieldName = model.SpatialQuery.FieldName;
				Latitude = model.SpatialQuery.Y;
				Longitude = model.SpatialQuery.X;
				Radius = model.SpatialQuery.Radius;
			}

			DefaultOperator = model.DefaultOperator;
			ShowFields = model.ShowFields;
			ShowEntries = model.ShowEntries;
			UseTransformer = model.UseTransformer;
			SkipTransform = model.SkipTransformResults;
			Transformer = model.SelectedTransformer.Value;
	    }
コード例 #2
0
ファイル: QueryModel.cs プロジェクト: 925coder/ravendb
			public RepairTermInQueryCommand(QueryModel model)
			{
				this.model = model;
			}
コード例 #3
0
ファイル: QueryModel.cs プロジェクト: 925coder/ravendb
			public RemoveSortByCommand(QueryModel model)
			{
				this.model = model;
			}
コード例 #4
0
		public ExecuteQueryCommand(QueryModel model)
		{
			this.model = model;
		}
コード例 #5
0
		public CalculateGeocodeFromAddressCommand(QueryModel queryModel)
		{
			this.queryModel = queryModel;
		}
コード例 #6
0
ファイル: ExecuteQueryCommand.cs プロジェクト: kyanha/studio
 public ExecuteQueryCommand(QueryModel model, IAsyncDatabaseCommands asyncDatabaseCommands)
 {
     this.model = model;
     this.asyncDatabaseCommands = asyncDatabaseCommands;
 }
コード例 #7
0
ファイル: QueryModel.cs プロジェクト: yogiramchandani/ravendb
 public RepairTermInQueryCommand(QueryModel model)
 {
     this.model = model;
 }
コード例 #8
0
ファイル: QueryModel.cs プロジェクト: yogiramchandani/ravendb
 public RemoveSortByCommand(QueryModel model)
 {
     this.model = model;
 }