AnsweredAssumed Answered

Can I access data from  a View with Arcobject in the same way as access data from a Table?

Question asked by gongaimin on May 31, 2019

I have a View from SQL Server database. I can add this View to ArcMap and open it like a Table in ArcMap. I am developping a custom GIS tool in ArcMap to extract some data from this View (there are about 4 million records in it) and to create a point fetaure class in Geodatabase. Can I access data from a View with Arcobject in the same way as access data from a Table? For example, nCount = pEvent_View.RowCount(Nothing) or pROW_Cursor = pEvent_View.Search(Nothing, True). What is the efficient way to retrieve data from a View with ArcObject if it possible at all? Thanks!

Outcomes