Re: [sqlite] User Defined Function using P/Invoke SQLite wrappers

2012-05-01 Thread Joe Mistachkin

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


Re: [sqlite] User Defined Function using P/Invoke SQLite wrappers

2012-05-01 Thread Rick Guizawa
Hi All, I have an assignment to do statistical processes in C#. I like
SQLite stand-alone feature but I need to be able to do the assignment using
something like SQL Server stored-procedure. 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.

Cheers,
Rick
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users