Пример #1
0
        private DynamicData ConvertDapperRow(dynamic r, DynamicData metadata)
        {
            var dd   = new DynamicData(r);
            var jkey = dd.Keys().FirstOrDefault(k => k.Contains("Json", ignoreCase: true));

            if (jkey.HasValue())
            {
                dd.AddValue(jkey, DynamicDataFromJson(dd[jkey].ToString(), metadata));
            }
            return(dd);
        }