[hyena/sqlite] [Hyena.Data.Sqlite] Add/RemoveFunction for HyenaSqliteConnection



commit 164b6e6933b5c46e81ec23ce93eab5d9543a9d7b
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Sat Nov 13 19:22:05 2010 -0600

    [Hyena.Data.Sqlite] Add/RemoveFunction for HyenaSqliteConnection

 .../Hyena.Data.Sqlite/HyenaSqliteConnection.cs     |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/Hyena.Data.Sqlite/Hyena.Data.Sqlite/HyenaSqliteConnection.cs b/Hyena.Data.Sqlite/Hyena.Data.Sqlite/HyenaSqliteConnection.cs
index dc03bd3..3bf1fa3 100644
--- a/Hyena.Data.Sqlite/Hyena.Data.Sqlite/HyenaSqliteConnection.cs
+++ b/Hyena.Data.Sqlite/Hyena.Data.Sqlite/HyenaSqliteConnection.cs
@@ -116,6 +116,17 @@ namespace Hyena.Data.Sqlite
             queue_thread.Start();
         }
 
+        public void AddFunction<T> () where T : SqliteFunction
+        {
+            connection.AddFunction<T> ();
+        }
+
+        public void RemoveFunction<T> () where T : SqliteFunction
+        {
+            connection.RemoveFunction<T> ();
+        }
+
+
 #region Public Query Methods
 
         // TODO special case for single object param to avoid object []



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]