我正在使用QueryResponse从dynomoDb获取结果集。如何将该响应转换为对象列表?
var _response = await _client.QueryAsync(_request);
List<Attendence> businessunits = JsonConvert.DeserializeObject<List<Attendence>>(JsonConvert.SerializeObject(_response.Items));
这对我不起作用,请帮助我解决这个问题!
答案 0 :(得分:0)
是的,我对此有解决方案,
<div class="container">
<div class="row">
<div class="col-1">
<div class="row">
<div class="col-6">
1/24
</div>
<div class="col-6">
2/24
</div>
</div>
</div>
<div class="col-1">
<div class="row">
<div class="col-6">
3/24
</div>
<div class="col-6">
4/24
</div>
</div>
</div>
<div class="col-1">
<div class="row">
<div class="col-6">
5/24
</div>
<div class="col-6">
6/24
</div>
</div>
</div>
<div class="col-1">
<div class="row">
<div class="col-6">
7/24
</div>
<div class="col-6">
8/24
</div>
</div>
</div>
<div class="col-1">
<div class="row">
<div class="col-6">
9/24
</div>
<div class="col-6">
10/24
</div>
</div>
</div>
<div class="col-1">
<div class="row">
<div class="col-6">
11/24
</div>
<div class="col-6">
12/24
</div>
</div>
</div>
<div class="col-1">
<div class="row">
<div class="col-6">
13/24
</div>
<div class="col-6">
14/24
</div>
</div>
</div>
<div class="col-1">
<div class="row">
<div class="col-6">
15/24
</div>
<div class="col-6">
16/24
</div>
</div>
</div>
<div class="col-1">
<div class="row">
<div class="col-6">
17/24
</div>
<div class="col-6">
18/24
</div>
</div>
</div>
<div class="col-1">
<div class="row">
<div class="col-6">
19/24
</div>
<div class="col-6">
20/24
</div>
</div>
</div>
<div class="col-1">
<div class="row">
<div class="col-6">
21/24
</div>
<div class="col-6">
22/24
</div>
</div>
</div>
<div class="col-1">
<div class="row">
<div class="col-6">
23/24
</div>
<div class="col-6">
24/24
</div>
</div>
</div>
</div>
</div>