Rick Guizawa wrote:
> 
> I was wondering if someone could give me a simple straight forward
> example of creating user defined function in c# - sqlite application.
> I have collected basic ( probably incomplete) P/Invoke SQLite wrapper
> functions but I don't know how to include the user defined function
> in the wrapper. Thank you  very much for any help you could give me. 
> 

You may want to look at using System.Data.SQLite:

        http://system.data.sqlite.org/

It has a SQLiteFunction abstract class that you can derive from.  The
help file (CHM) for the project has some information on how to use this
class, including for the static RegisterFunction method used to actually
add the custom functions to the database connection.

--
Joe Mistachkin

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to