I did a server-side(c#) network analysis and the output is the EID's(NetEid's) which needs a INETelements to query for features and Object Id's. It takes long time especially when you found many features. Is there anyway to send the Eid's to Java-script( since I have to mark them and ...) and query through the Eid's on client side or any quicker way to do the query in server-side( maybe just for one layer? ) ?
My code :
INetElements INET2 = ipNetwork as INetElements;
ipTraceFlowSolver.FindFlowElements(oFlowMethod, oFlowElements, out m_ipEnumNetEID_Junctions, out m_ipEnumNetEID_Edges);
_ResultEdges = m_ipEnumNetEID_Edges;
for (int i = 0; i < Ipcount; i++)
{
var Eid= m_ipEnumNetEID_Edges.Next() ;
INET2.QueryIDs(Eid,esriElementType.esriETEdge,out UserClassIDs,out UserID,out userSubId);
.
.
.