常常获取没有模型或者自义定模型的数据
比如 直接查询,获取到的object 数据
string sqlCount = $"select count(*) as count from Yc_Alarm where 1=1 {where} {order}";
var cou = DBServerProvider.SqlDapper.QueryFirst<object>(sqlCount,null);
var data = (IDictionary<string, object>)cou;
count =int.Parse(data["count"].ToString());
使用IDictionary<string, object> 转换object数据,查看跟踪可以看到是键对值的方式