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; }
public RepairTermInQueryCommand(QueryModel model) { this.model = model; }
public RemoveSortByCommand(QueryModel model) { this.model = model; }
public ExecuteQueryCommand(QueryModel model) { this.model = model; }
public CalculateGeocodeFromAddressCommand(QueryModel queryModel) { this.queryModel = queryModel; }
public ExecuteQueryCommand(QueryModel model, IAsyncDatabaseCommands asyncDatabaseCommands) { this.model = model; this.asyncDatabaseCommands = asyncDatabaseCommands; }
public RepairTermInQueryCommand(QueryModel model) { this.model = model; }
public RemoveSortByCommand(QueryModel model) { this.model = model; }