/// <summary> /// setup main cursor for fetch /// executed for all types of fetches /// </summary> /// <returns></returns> private GatewayResult SetupMainCursor() { GatewayResult gatewayResult; UpdateViewBoundaries(StartPosition); gatewayResult = TaskViews.OpenCursors(Reverse, StartPosition); //move to strategy ???? if (gatewayResult.Success && StartingPositionType == StartingPositionType.AfterStartingRecord && PositionCache.ContainsValue(startPosition)) { IRecord dummyRecord = DataviewSynchronizer.CreateRecord(); gatewayResult = TaskViews.FetchMain(dummyRecord); } return(gatewayResult); }