-- 

On Fri, July 20, 2007 12:31 pm, Jonathan Pryor wrote:
> On Fri, 2007-07-20 at 12:10 -0400, Adrien Dessemond wrote:
>> A solution could be to make a namespace alias like that :
>>
>> #if(MSNet)
>> using System.Data.SQLite = SDSQL;
>> #else
>> using System.Data.Sqlite = SDSQL;
>> #endif
>
> You've got that backwards.  It should instead be:

Stupid mistake, I apologize. Thank you for your corrections Jonathan.

Would. doing this trick in a wrapper assembly be a clever solution for him
? Of course he has to build 2 times the wrapper assembly and adapt his
wrapper if the underlying data provider changes...


Kind regards,

Adrien

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to