Sharepoint crawler data and SPList data mutual access

246 Views Asked by At

In our sharepoint system, we have document library labeled as My Documents and complex file structure labeled as All documents. This All documents are indexed by crawler and each user can access data from all documents via search and his document library (My Document one).

I need the same functionality on both of them (download them zipped, copy them etc.) and I don't want to same thing in two ways, because of different system.

Is there some way to treat both "repositories" in the same way in term of abstraction? Like if I will have some class Repository and it will get IQueryables from both MyDocuments and AllDocuments and perform the same task on them?

I Found that both of them can have their items viewed as DataTable. Is it a good solution to do it that way? I prefer Rather IQueryable or IEnumerable for those particular tasks I need to implement

Btw. I'm implementing it in csharp

0

There are 0 best solutions below