If you receive a communication error while synchronizing the device, you may need to set the paging size in the Form${ScreenName}Controller.cs file.
/// <summary>
/// Gets the ${mbo name} in current context.
/// </summary>
/// <returns></returns>
public BindingList<global::$(package name).${mbo name}> Get${mbo name}BindingSource()
{
//....
//${mbo name}DataStore.Instance.AllObjects = ${mbo name}DataStore.Instance.LoadData();
// should be changed to
${mbo name}DataStore.Instance.AllObjects = ${mbo name}DataStore.Instance.LoadData(this.table1_paging_size * this.table1_paging_current_page, this.table1_paging_size);
return new SortableBindingList<global::$(package name).$(mbo name)>($(mbo name)DataStore.Instance.AllObjects);
}
/// <summary>
/// Gets the ${mbo name} in current context.
/// </summary>
/// <returns></returns>
public BindingList<global::$(package name).${mbo name}> Get${mbo name}BindingSource()
{
//....
//${mbo name}DataStore.Instance.AllObjects = ${mbo name}DataStore.Instance.LoadData(); // this line should be commented.
return new SortableBindingList<global::$(package name).$(mbo name)>($(mbo name)DataStore.Instance.AllObjects);
}