/// <summary> /// Генерация выборки на клиенте /// </summary> /// <param name="model">Модель</param> /// <returns></returns> public async Task <ModelSelect> GenerateSqlSelect(ModelSelect model) { var select = new SqlSelect(); return(await Task.Factory.StartNew(() => select.SelectSql(model))); }