public static ShapedDatasetContract For(Shape shape, IDatasetQuery query) { if (shape == Shape.Dynamic) { return(new DynamicContract(query as DynamicDatasetQuery)); } return(For(shape)); }
public DatasetQueryDTO(IDatasetQuery dq) { Id = dq.Id.Value.ToString(); UniversalId = dq.UniversalId?.ToString(); IsEncounterBased = dq.IsEncounterBased; Shape = dq.Shape; Name = dq.Name; Category = dq.Category; Description = dq.Description; Tags = dq.Tags; }
string CteDatasetInternals(IDatasetQuery datasetQuery) => datasetQuery.SqlStatement;