mobile app documentdb offlinesync sample
1.0.0
这是一个概念项目的证明,我们使用具有离线同步的Azure移动应用程序与几个SQLite移动客户端进行了使用复杂(嵌套)类型的DocumentDB实例。在这个项目中,我们正在尝试实现以下功能:
要点:
{
"text" : " Mew task ios " ,
"nested" : {
"nestedText" : " 144 J B Hazra Road " ,
"nestedBool" : " false "
},
"nestedItems" : [
{
"nestedText" : " xxoxoxoxoxox " ,
"nestedBool" : " true "
}
],
"complete" : true ,
"id" : " 8d16700a-fcc0-4453-b740-e3eef8c0c340 " ,
"version" : null ,
"createdat" : " 2017-01-11T12:27:24.1394782+00:00 " ,
"updatedat" : " 2017-01-11T14:24:03.4335527+00:00 " ,
"deleted" : false
}不幸的是,嵌套对象/集合只能存储在移动客户端上的SQLite商店中的字符串/JSON: 
我们通过实现自定义展开属性来实现这一目标,以在将数据从Azure移动应用发送到客户端时包括嵌套对象。我们在这里使用了它