2

Is it possible to attach multiple DBs to SQL CE 3.5 (Compact edition) e.g. MasterData.sdf, Orders.sdf and apply queries against them e.g.: select Orders.iOrderID, Orders.cItemID, MasterData.cItemDesc from Orders.CustomerOrder as Orders left join MasterData.Items as Items on Orders.cItemID = Items.cItemID

I need this because of sync optimization (many small databases vs. one big database).


Is there any other solution to merge two (many) sdf-s into one ?

Bill the Lizard
  • 398,270
  • 210
  • 566
  • 880
FrenkR
  • 327
  • 1
  • 3
  • 11

1 Answers1

1

No, this is not possible - but you could load each table as a list of business objects, and use LINQ to query cross these collections. (Requires more memory)

ErikEJ
  • 40,951
  • 5
  • 75
  • 115