views:

236

answers:

2

Looking for performance vs. ease of use comparisons between the two

Hopefully some real world examples too ?

This is for a desktop Winforms/C# app using SQL Server Compact 3.5 and .net 2.0

A: 

Why would you even consider using OleDB?

Tommy Carlier
I've some generic db code uses the interfaces e.g. IConnection, ICommand etc. to connect to any dbwould like to reuse if possible
Kumar
That's not a problem. You can do that with SqlServerCe. It plugs very nicely into ADO.NET: you have SqlCeConnection (which inherits from DbConnection and implements IDbConnection), SqlCeCommand, SqlCeDataReader, ... They all implement the correct interfaces.
Tommy Carlier
That works but requires the extra lines of codeThe generic solution reads the provider from the config and works as is
Kumar
A: 

Some guy did a benchmark of the 2 which you can find here http://www.pocketpcdn.com/forum/viewtopic.php?t=11003

Zen