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

Vincent Daron vdaron at ask.be
Wed Jun 9 00:33:13 EDT 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SqliteCommand.cs.patch
Type: text/x-patch
Size: 1478 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040609/a4625247/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SqliteDataReader.cs.patch
Type: text/x-patch
Size: 400 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040609/a4625247/attachment-0001.bin 


More information about the Mono-devel-list mailing list