Exemplo n.º 1
0
        private void FetchItemData(string itemID)
        {
            if (!m_Database.Exists(itemID))
            {
                return;
            }

            int count = m_Database.GetItemRowCount(itemID) - m_Ordered;

            if (count > 0)
            {
                int startIndex = m_Ordered;

                m_Ordered += count;

                m_Database.BeginGetItemRowsDP(itemID, 10000, startIndex, count, new QueuedReadRequestEventHandler(OnDataArrival));
            }
        }