aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenGrid.Framework.Data.MySQL/MySQLGridData.cs
diff options
context:
space:
mode:
authorAdam Frisby2007-05-05 23:04:47 +0000
committerAdam Frisby2007-05-05 23:04:47 +0000
commit6d6117e0196e8aabccee2a8879b0b6ad950ab3ab (patch)
tree61d8e736ebd1a407010900d2839fbfdf83ea37d7 /OpenGrid.Framework.Data.MySQL/MySQLGridData.cs
parentGrid Framework for DB4o - supports all framework.data interfaces. (diff)
downloadopensim-SC_OLD-6d6117e0196e8aabccee2a8879b0b6ad950ab3ab.zip
opensim-SC_OLD-6d6117e0196e8aabccee2a8879b0b6ad950ab3ab.tar.gz
opensim-SC_OLD-6d6117e0196e8aabccee2a8879b0b6ad950ab3ab.tar.bz2
opensim-SC_OLD-6d6117e0196e8aabccee2a8879b0b6ad950ab3ab.tar.xz
You can now save profiles to a database. (Zomg!)
Diffstat (limited to '')
-rw-r--r--OpenGrid.Framework.Data.MySQL/MySQLGridData.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenGrid.Framework.Data.MySQL/MySQLGridData.cs b/OpenGrid.Framework.Data.MySQL/MySQLGridData.cs
index 0a84cdb..4404a16 100644
--- a/OpenGrid.Framework.Data.MySQL/MySQLGridData.cs
+++ b/OpenGrid.Framework.Data.MySQL/MySQLGridData.cs
@@ -75,6 +75,18 @@ namespace OpenGrid.Framework.Data.MySQL
75 return row; 75 return row;
76 } 76 }
77 77
78 public DataResponse AddProfile(SimProfileData profile)
79 {
80 if (database.insertRow(profile))
81 {
82 return DataResponse.RESPONSE_OK;
83 }
84 else
85 {
86 return DataResponse.RESPONSE_ERROR;
87 }
88 }
89
78 /// <summary> 90 /// <summary>
79 /// DEPRECIATED. Attempts to authenticate a region by comparing a shared secret. 91 /// DEPRECIATED. Attempts to authenticate a region by comparing a shared secret.
80 /// </summary> 92 /// </summary>