]> jfr.im git - z_archive/kelsier.git/blobdiff - Database.cs
Adding auth
[z_archive/kelsier.git] / Database.cs
index 74913d60e73bc2a2da0eed5e426806fc2cde1efe..463e608f924483cb8153948b2a78ea2b91b90c91 100644 (file)
@@ -1,4 +1,4 @@
-// Kelsier project - database interaction code (Database.cs)
+// Kelsier project - Database interaction code (Database.cs)
 // Written by the Jobbig codeteam. <http://jobbig.eu/code/>
 // Copyright 2013 John Runyon.
 // 
@@ -16,6 +16,7 @@
 // 
 // You should have received a copy of the GNU Affero General Public License
 // along with this program.  If not, see <http://www.gnu.org/licenses/>.
+//
 
 using System;
 using System.Collections.Generic;
@@ -23,8 +24,8 @@
 using System.Text;
 using MySql.Data.MySqlClient;
 
-namespace Kelsier {
-    class Database {
+namespace Kelsier.Common {
+    public class Database {
         public MySqlConnection dbh { get; private set; }
 
         private string dbinfo;
@@ -105,5 +106,5 @@ class Database {
         }
     }
 
-    class PlaceholdersException : Exception { }
+    public class PlaceholdersException : Exception { }
 }