[Mono-list] Mono Newbie Question

Adrien Dessemond adrien.dessemond at softhome.net
Fri Jul 20 13:51:55 EDT 2007


-- 


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



More information about the Mono-list mailing list