[Mono-devel-list] Command with Parameters support for SQLite

Vincent Daron vdaron at ask.be
Wed Jun 9 08:33:35 EDT 2004


Sorry, forget the SqLiteCommand patch, String.Replace is really too
poor... must be tired yersterday. I 'll use regex instead and send a
better patch. 

Tks

Vincent

Le mer, 09/06/2004 à 00:33 -0400, Vincent Daron a écrit :
> Hi all
> 
> Here is 2 small quick patch for Mono.Data.SqLite Provider.
> 
> "SqLiteCommand.cs.patch" add a basic support for parameters in
> SqlCommand. This is a simple string.Replace, so use a "@" character to
> start your ParameterNames to avoid conflics with the Query.
> 
> The SqliteDataReader patch simply not throw an exception anymore for
> GetGuid(int index), but Parse the string value.
> 
> See you.
> 
> Vincent




More information about the Mono-devel-list mailing list